summaryrefslogtreecommitdiff
path: root/.config/sxhkd
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-19 20:57:17 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-19 20:57:17 -0700
commit2587f3f30c1757fc6609b9ab9294e12700c195b6 (patch)
tree342c9f99f7681228880879c6faa0f4e5019fa46a /.config/sxhkd
parent1a2357773586ee8421379de4070f71da40d1c679 (diff)
Finally have a working bspwm + sxhkd + lemonbar, still WIP¿
Diffstat (limited to '.config/sxhkd')
-rw-r--r--.config/sxhkd/sxhkdrc24
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}