Cleaning up new leftwm configs.

This commit is contained in:
Derek Taylor 2022-10-28 12:26:35 -05:00
parent ffab9f795a
commit 37685bdee4
6 changed files with 27 additions and 23 deletions

View File

@ -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,
)
)

View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
/home/dt/.config/leftwm/themes/basic_xmobar
basic_xmobar

View File

@ -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

View File

@ -1,8 +1,8 @@
[geometry]
posx=1936
posy=40
sizex=1884
sizey=1020
posx=0
posy=0
sizex=1920
sizey=1080
[nitrogen]
view=icon