diff options
Diffstat (limited to '.config/sxhkd/sxhkdrc')
-rw-r--r-- | .config/sxhkd/sxhkdrc | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index d4595ac..3ee3384 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -9,6 +9,9 @@ super + d i3-dmenu-desktop super + Escape pkill -USR1 -x sxhkd +super + shift + Escape + pkill -x statusbar\ + statusbar # Run programs. super + shift + w @@ -116,24 +119,9 @@ super + ctrl + shift + space # Move/resize. # -# Expand a window by moving one of its side outward. -super + alt + {h,j,k,l} - n=20; \ - bspc node -z {left -$n 0,bottom 0 $n,top 0 -$n,right $n 0} - -# Contract a window by moving one of its side inward. -super + alt + shift + {h,j,k,l} - n=20; \ - bspc node -z {right -$n 0,top 0 $n,bottom 0 -$n,left $n 0} - -# Move a floating window. -super + {Left,Down,Up,Right} - bspc node -v {-20 0,0 20,0 -20,20 0} - - # Smart resize, will grow or shrink depending on location. # Will always grow for floating nodes. -super + alt + ctrl + {Left,Down,Up,Right} +super + alt + {h,j,k,l} n=10; \ { d1=left; d2=right; dx=-$n; dy=0; \ , d1=bottom; d2=top; dx=0; dy=$n; \ @@ -141,3 +129,7 @@ super + alt + ctrl + {Left,Down,Up,Right} , d1=right; d2=left; dx=$n; dy=0; \ } \ bspc node --resize $d1 $dx $dy || bspc node --resize $d2 $dx $dy + +# Move a floating window. +super + {Left,Down,Up,Right} + bspc node -v {-20 0,0 20,0 -20,20 0} |