From ebc14e3d93dcb49a866a6c215aa2f1ea761cae81 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 5 Apr 2023 09:53:20 +0100 Subject: [PATCH] Add preselect commands --- nixos/home-manager/env/sxhkd.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/home-manager/env/sxhkd.nix b/nixos/home-manager/env/sxhkd.nix index 6539a7fc..8c9b25ac 100644 --- a/nixos/home-manager/env/sxhkd.nix +++ b/nixos/home-manager/env/sxhkd.nix @@ -30,6 +30,12 @@ "super + {grave,Tab}" = "bspc {node,desktop} -f last"; "super + {_,shift + }{1-8}" = "bspc {desktop -f,node -d} '^{1-8}'"; + # Preselect + "super + ctrl + {h,j,k,l}" = "bspc node -p {west,south,north,east}"; + "super + ctrl + {1-9}" = "bspc node -o 0.{1-9}"; + "super + ctrl + space" = "bspc node -p cancel"; + "super + ctrl + shift + space" = "bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel"; + # screenshot "Print" = "flameshot gui";