From 3d39d554542f1fa596b98563a930c39aa678a7d0 Mon Sep 17 00:00:00 2001 From: Ryan Kes <> Date: Sun, 15 Nov 2020 15:46:14 +0100 Subject: [PATCH] feat(sxhkd): add keybindings to swap/rotate nodes --- sxhkd/.config/sxhkd/sxhkdrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index ddbc3c3..e050642 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -174,3 +174,11 @@ super + alt + shift + {h,j,k,l} # move a floating window super + {Left,Down,Up,Right} bspc node -v {-20 0,0 20,0 -20,20 0} + +# Swap nodes the tree from the current nodes parent +super + control + {Up, Down} + bspc node @parent -C {forward, backward} + +# Rotate the tree from the current nodes parent +super + control + {Right, Left} + bspc node @parent --rotate {90,270}