1
0
forked from extern/nix-config

bspwm: Use super+grave for alttab

This gives us the convenience of switching desktops while also giving us
the option of the traditional alt+tab approach if needed.

Note that all desktop-related keybinds use the super key so alt and ctrl
modifiers can be used by desktop programs.
This commit is contained in:
Donovan Glover 2023-03-22 19:08:29 -04:00
parent 4da78955aa
commit 4bfc2ce71f
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -136,7 +136,7 @@ fi
brightnessctl --device='tpacpi::kbd_backlight' set 2 brightnessctl --device='tpacpi::kbd_backlight' set 2
# Enable alt tab # Enable alt tab
alttab -d 1 -w 1 -font "xft:Noto Sans CJK JP" & alttab -d 1 -w 1 -font "xft:Noto Sans CJK JP" -mk Super_L -kk grave &
# Fix bar showing above fullscreen programs # Fix bar showing above fullscreen programs
xdo above -t "$(xdo id -N Bspwm -n root | sort | head -n 1)" $(xdo id -n tint2) xdo above -t "$(xdo id -N Bspwm -n root | sort | head -n 1)" $(xdo id -n tint2)