aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/sxhkd/keybindings/bspwm.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-03-09 20:26:17 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-03-09 20:26:17 +0530
commit3389e89ec7b6f42ac4a1a6ddeb47fc5a1628c3bb (patch)
treea23adc82d229a2b919ea1fcfb11e343671619518 /modules/desktop/sxhkd/keybindings/bspwm.nix
parentd308f652cd9aab7c68daaf82abe1ec01ffaa698c (diff)
downloadhome-manager-config-3389e89ec7b6f42ac4a1a6ddeb47fc5a1628c3bb.tar.gz
home-manager-config-3389e89ec7b6f42ac4a1a6ddeb47fc5a1628c3bb.zip
Some minor code refactoring
Diffstat (limited to 'modules/desktop/sxhkd/keybindings/bspwm.nix')
-rw-r--r--modules/desktop/sxhkd/keybindings/bspwm.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/desktop/sxhkd/keybindings/bspwm.nix b/modules/desktop/sxhkd/keybindings/bspwm.nix
index ed62ed4..ffa7d6c 100644
--- a/modules/desktop/sxhkd/keybindings/bspwm.nix
+++ b/modules/desktop/sxhkd/keybindings/bspwm.nix
@@ -7,27 +7,27 @@ in lib.mkMerge [
"q"
"Kill current window."
"${bspc} node -c")
-
+
(createKeybinding
"{1-9,0}"
"Switch workspace."
"${bspc} desktop -f {1-9,10}")
-
+
(createKeybinding
"shift + {1-9,0}"
"Move window to workspace."
"${bspc} node -d {1-9,10} --follow")
-
+
(createKeybinding
"{n,d,m}"
"Set current window mode (tiled, floating, fullscreen)."
"${bspc} node focused -t {tiled,floating,fullscreen}")
-
+
(createKeybinding
"{_,shift + }{h,j,k,l}"
"Navigate between windows."
"${bspc} node --{focus,swap} {west,south,north,east}")
-
+
# the indentation for each line is required to work with the help prompt
(createKeybinding
"ctrl + {h,j,k,l}"