meta: Use alttab

alttab <https://github.com/sagb/alttab> is a cool alternative to the
more traditional ways of managing windows in bspwm that lets us focus on
the currently open windows instead of which desktop they're on.
This commit is contained in:
Donovan Glover 2022-10-25 14:02:20 -04:00
parent 83ee31d1a5
commit ded1649cea
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 3 additions and 4 deletions

View File

@ -127,3 +127,6 @@ fi
# Use maximum brightness on the keyboard by default
brightnessctl --device='tpacpi::kbd_backlight' set 2
# Enable alt tab
alttab -d 1 -w 1 -font "xft:Noto Sans CJK JP" -mk Super_L &

View File

@ -86,10 +86,6 @@ super + shift + {1-9,0}
[ "$(bspc query -D -d "$target")" != "$(bspc query -D -d)" ] \
&& bspc node -d "$target" || bspc node -d last.local
# Move to the next desktop on the current monitor
super + {_, shift} + Tab
bspc desktop -f {next,prev}.local.occupied
# Easily go back and forth between the last desktop used
super + a
bspc desktop -f last