aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/sxhkd/keybindings/bspwm.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@proton.me>2026-03-13 16:31:58 +0530
committerArpit Chakladar <arpitchakladar@proton.me>2026-03-13 16:31:58 +0530
commite0c724f14042bd90b9eb5687a351c9945b74fc9b (patch)
tree69a28737123f0db807b4522688e90817a6c555bf /modules/desktop/sxhkd/keybindings/bspwm.nix
parentd0936afa8fea372bc2d3114499ad10d354089c38 (diff)
downloadhome-manager-config-e0c724f14042bd90b9eb5687a351c9945b74fc9b.tar.gz
home-manager-config-e0c724f14042bd90b9eb5687a351c9945b74fc9b.zip
Moving to xremap for shortcuts from sxhkd. Added the basic configs
Diffstat (limited to 'modules/desktop/sxhkd/keybindings/bspwm.nix')
-rw-r--r--modules/desktop/sxhkd/keybindings/bspwm.nix36
1 files changed, 0 insertions, 36 deletions
diff --git a/modules/desktop/sxhkd/keybindings/bspwm.nix b/modules/desktop/sxhkd/keybindings/bspwm.nix
deleted file mode 100644
index 097b976..0000000
--- a/modules/desktop/sxhkd/keybindings/bspwm.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- createKeybinding,
- pkgs,
- lib,
-}:
-
-let
- bspc = "${pkgs.bspwm}/bin/bspc";
-in
-lib.mkMerge [
- (createKeybinding "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}" "Resize current window." ''
- ${bspc} node {@parent/second -z left -20 0; \
- @parent/first -z right -20 0, \
- @parent/second -z top 0 +20; \
- @parent/first -z bottom 0 +20, \
- @parent/first -z bottom 0 -20; \
- @parent/second -z top 0 -20, \
- @parent/first -z right +20 0; \
- @parent/second -z left +20 0}
- '')
-]