From 2587f3f30c1757fc6609b9ab9294e12700c195b6 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Sat, 19 Dec 2020 20:57:17 -0700 Subject: Finally have a working bspwm + sxhkd + lemonbar, still WIP¿ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/sxhkd/sxhkdrc | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to '.config/sxhkd') 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} -- cgit v1.2.3-54-g00ecf