From b39b1bed9f4e249dba12ce13a9b5dfca361c5a1c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 4 Jul 2023 09:53:46 +0100 Subject: [PATCH] Tweak some bspwm keybinds --- home/desktop/bspwm.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/home/desktop/bspwm.nix b/home/desktop/bspwm.nix index bf8f4e37..c69b01f9 100644 --- a/home/desktop/bspwm.nix +++ b/home/desktop/bspwm.nix @@ -48,6 +48,12 @@ # Launcher "super + @space" = "rofi -show drun"; + # Shortcuts + "super + n" = "bspc desktop -f dev && neovide --multigrid"; + "super + r" = "bspc desktop -f files && wezterm -e ranger"; + "super + p" = "powermenu"; + "super + F1" = "xfce4-screensaver-command --lock"; + # bspwm hotkeys "super + Escape" = "pkill -USR1 -x sxhkd"; "super + alt + {q,r}" = "bspc {quit,wm -r}"; @@ -61,12 +67,13 @@ "super + {_,shift + }{h,j,k,l}" = "bspc node -{f,s} {west,south,north,east}"; "super + {_,shift + }{Left,Down,Up,Right}" = "bspc node -{f,s} {west,south,north,east}"; "super + {_,shift + }{comma,period}" = "bspc {desktop -f,node -d} {prev,next}.local.occupied --follow"; + "super + {_,shift + }c" = "bspc node -f {next,prev}.local.!hidden.window"; "super + {_,shift + }n" = "bspc {desktop -f,node -d} next.local --follow"; "super + {_,shift + }bracket{left,right}" = "bspc {monitor -f,node -m} {prev,next} --follow"; "super + {grave,Tab}" = "bspc {node,desktop} -f last"; "super + {_,shift + }{1-9}" = "bspc {desktop -f,node -d} '^{1-9}' --follow"; # Named workspaces - "super + {_,shift + }{d,w,f,c,r}" = "bspc {desktop -f,node -d} '{dev,browser,files,chat,remote}' --follow"; + "super + {_,shift + }{d,w,f,e}" = "bspc {desktop -f,node -d} '{dev,browser,files,chat}' --follow"; # Preselect "super + ctrl + {h,j,k,l}" = "bspc node -p {west,south,north,east}"; @@ -76,11 +83,6 @@ # Screenshot "Print" = "flameshot gui"; - # Shortcuts - "super + e" = "thunar"; - "super + p" = "powermenu"; - "super + F1" = "xfce4-screensaver-command --lock"; - # Volume control keys "XF86AudioMute" = "pamixer -t"; "XF86AudioRaiseVolume" = "pamixer -i 2";