From ded1649cea970aef6a7087807732faf6ec82dfcd Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 25 Oct 2022 14:02:20 -0400 Subject: [PATCH] meta: Use alttab 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. --- bspwm/.config/bspwm/bspwmrc | 3 +++ sxhkd/.config/sxhkd/sxhkdrc | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 89b83e24..2aa07333 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -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 & diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index d78a10b4..9a9f73fc 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -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