From 37685bdee4a64408c795f70fbefa896404f0431f Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Fri, 28 Oct 2022 12:26:35 -0500 Subject: [PATCH] Cleaning up new leftwm configs. --- .config/leftwm/config.ron | 14 ++++++++------ .config/leftwm/themes/basic_xmobar/down | 10 ++++++---- .config/leftwm/themes/basic_xmobar/up | 10 +++++----- .config/leftwm/themes/current | 2 +- .config/nitrogen/bg-saved.cfg | 6 +++--- .config/nitrogen/nitrogen.cfg | 8 ++++---- 6 files changed, 27 insertions(+), 23 deletions(-) diff --git a/.config/leftwm/config.ron b/.config/leftwm/config.ron index eafe408..7b7cad2 100644 --- a/.config/leftwm/config.ron +++ b/.config/leftwm/config.ron @@ -54,22 +54,23 @@ sloppy_mouse_follows_focus: true, keybind: [ (command: Execute, value: "dmenu_run", modifier: ["modkey", "Shift"], key: "Return"), - (command: Execute, value: "alacritty -e fish", modifier: ["modkey"], key: "Return"), + (command: Execute, value: "alacritty", modifier: ["modkey"], key: "Return"), (command: CloseWindow, value: "", modifier: ["modkey", "Shift"], key: "c"), (command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "r"), (command: Execute, value: "pkill leftwm", modifier: ["modkey", "Shift"], key: "q"), (command: Execute, value: "slock", modifier: ["modkey", "Control"], key: "l"), (command: MoveToLastWorkspace, value: "", modifier: ["modkey", "Shift"], key: "w"), (command: SwapTags, value: "", modifier: ["modkey"], key: "w"), - (command: MoveWindowUp, value: "", modifier: ["modkey", "Shift"], key: "k"), - (command: MoveWindowDown, value: "", modifier: ["modkey", "Shift"], key: "j"), + (command: MoveWindowDown, value: "", modifier: ["modkey", "Shift"], key: "k"), + (command: MoveWindowUp, value: "", modifier: ["modkey", "Shift"], key: "j"), (command: MoveWindowTop, value: "", modifier: ["modkey", "Shift"], key: "m"), - (command: FocusWindowUp, value: "", modifier: ["modkey"], key: "k"), - (command: FocusWindowDown, value: "", modifier: ["modkey"], key: "j"), + (command: FocusWindowDown, value: "", modifier: ["modkey"], key: "k"), + (command: FocusWindowUp, value: "", modifier: ["modkey"], key: "j"), (command: NextLayout, value: "", modifier: ["modkey"], key: "Tab"), (command: PreviousLayout, value: "", modifier: ["modkey", "Shift"], key: "Tab"), (command: FocusWorkspaceNext, value: "", modifier: ["modkey"], key: "period"), (command: FocusWorkspacePrevious, value: "", modifier: ["modkey"], key: "comma"), + (command: ToggleFullScreen, modifier: ["modkey"], key: "space"), (command: GotoTag, value: "1", modifier: ["modkey"], key: "1"), (command: GotoTag, value: "2", modifier: ["modkey"], key: "2"), (command: GotoTag, value: "3", modifier: ["modkey"], key: "3"), @@ -90,6 +91,7 @@ (command: MoveToTag, value: "9", modifier: ["modkey", "Shift"], key: "9"), (command: IncreaseMainWidth, value: "1", modifier: ["modkey", "Shift"], key: "l"), (command: DecreaseMainWidth, value: "1", modifier: ["modkey", "Shift"], key: "h"), + (command: Execute, value: "emacsclient -c -a 'emacs'", modifier: ["modkey"], key: "e"), ], state_path: None, -) \ No newline at end of file +) diff --git a/.config/leftwm/themes/basic_xmobar/down b/.config/leftwm/themes/basic_xmobar/down index 4e4f66a..78a1ff5 100755 --- a/.config/leftwm/themes/basic_xmobar/down +++ b/.config/leftwm/themes/basic_xmobar/down @@ -12,8 +12,10 @@ leftwm-command "UnloadTheme" ps -alh | grep xmobar_control_script | awk '{print $3}' | xargs kill -pkill compton -pkill picom -pkill xmobar -pkill xmobar +killall picom +killall conky +killall trayer +killall xmobar +killall nm-applet +killall volumeicon diff --git a/.config/leftwm/themes/basic_xmobar/up b/.config/leftwm/themes/basic_xmobar/up index 24734d8..0df9852 100755 --- a/.config/leftwm/themes/basic_xmobar/up +++ b/.config/leftwm/themes/basic_xmobar/up @@ -11,16 +11,16 @@ ln -s $SCRIPTPATH/down /tmp/leftwm-theme-down #boot compton or picom if it exists -killall conky -killall trayer +# killall conky +# killall trayer lxsession & picom & nm-applet & volumeicon & /usr/bin/emacs --daemon & -sleep 2 && conky -c $HOME/.config/conky/xmonad/doom-one-01.conkyrc -sleep 2 && trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 +conky -c $HOME/.config/conky/xmonad/doom-one-01.conkyrc & +trayer --edge top --align right --widthtype request --padding 6 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x282c34 --height 22 & #set the theme.ron config leftwm-command "LoadTheme $SCRIPTPATH/theme.ron" @@ -28,7 +28,7 @@ leftwm-command "LoadTheme $SCRIPTPATH/theme.ron" # SET WALLPAPER # Uncomment only ONE of the following FOUR lines, depending on which wallpaper setter you use. -xargs xwallpaper --stretch < ~/.cache/wall +xargs xwallpaper --stretch < ~/.cache/wall & # ~/.fehbg &" -- set last saved feh wallpaper # feh --randomize --bg-fill /usr/share/backgrounds/dtos-backgrounds/*" -- feh set random wallpaper # nitrogen --restore &" -- if you prefer nitrogen to feh diff --git a/.config/leftwm/themes/current b/.config/leftwm/themes/current index 30d73d2..9e0d2e9 120000 --- a/.config/leftwm/themes/current +++ b/.config/leftwm/themes/current @@ -1 +1 @@ -/home/dt/.config/leftwm/themes/basic_xmobar \ No newline at end of file +basic_xmobar \ No newline at end of file diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg index 636dfde..c5a57c5 100644 --- a/.config/nitrogen/bg-saved.cfg +++ b/.config/nitrogen/bg-saved.cfg @@ -1,14 +1,14 @@ [xin_0] -file=/home/dt/wallpapers/0137.jpg +file=/home/dt/wallpapers/0157.jpg mode=0 bgcolor=#000000 [xin_1] -file=/home/dt/wallpapers/0137.jpg +file=/home/dt/wallpapers/0157.jpg mode=0 bgcolor=#000000 [xin_2] -file=/home/dt/wallpapers/0137.jpg +file=/home/dt/wallpapers/0157.jpg mode=0 bgcolor=#000000 diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg index 8af6a8f..a60af51 100644 --- a/.config/nitrogen/nitrogen.cfg +++ b/.config/nitrogen/nitrogen.cfg @@ -1,8 +1,8 @@ [geometry] -posx=1936 -posy=40 -sizex=1884 -sizey=1020 +posx=0 +posy=0 +sizex=1920 +sizey=1080 [nitrogen] view=icon