From bf472e1d20d356e338bc9ac9aa90d04841b5585b Mon Sep 17 00:00:00 2001 From: randomuser Date: Fri, 8 Jul 2022 03:29:17 +0000 Subject: [PATCH] add bspwm-toggle-gaps --- bspwm/bspwmrc | 1 + sx/sxrc | 6 ++++++ sxhkd/sxhkdrc | 3 +++ 3 files changed, 10 insertions(+) diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index b23c7ee..3113d10 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -13,6 +13,7 @@ bspc config pointer_follows_focus true bspc config pointer_follows_monitor true bspc config focus_follows_pointer true +bspc config window_gap 3 bspc config top_padding 20 bspc rule -a st-gpg-menu state=floating diff --git a/sx/sxrc b/sx/sxrc index b374c72..654dcfd 100755 --- a/sx/sxrc +++ b/sx/sxrc @@ -5,6 +5,12 @@ wallpaper # statusbar statusbar & +# adjust some keybindings +setxkbmap -option caps:super +killall xcape +xcape -e 'Super_L=Escape' +xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock + # start the wm sxhkd & bspwm diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index 2b58481..a3ae38c 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -75,3 +75,6 @@ super + {_,shift + } {1-9,0} super + {t,f,s} bspc node -t {tiled,floating,fullscreen} + +super + shift + t + bspwm-toggle-gaps