From ea111142aa339e71a1f12878ba0cbba3a999ca6a Mon Sep 17 00:00:00 2001 From: tomit4 Date: Wed, 25 May 2022 07:26:31 -0700 Subject: [PATCH] added functionality to toggle horizontal/vertical orientation of windows in bspwm --- sxhkd/sxhkdrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index 3f95d013..3026fb51 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -42,6 +42,10 @@ super + {1-9,0} super + shift + {1-9,0} id=$(bspc query -N -n); bspc node -d ^{1-9,10} +# change current window to toggle horizontal/vertical split +super + shift + h + bspc node @parent -R 90 + # expand a window by moving one of its side outward ctrl shift + {Left,Down,Up,Right} bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}