Modified bspwmrc a bit

This commit is contained in:
2022-11-09 11:09:02 +01:00
parent a73ec2a0ce
commit 69d33f73dd

View File

@@ -1,13 +1,15 @@
#! /bin/sh #! /bin/sh
gap=7 gap=7
PANEL_HEIGHT=27 PANEL_HEIGHT=27
DOCK_WIDTH=24
export gap export gap
export PANEL_HEIGHT export PANEL_HEIGHT
export DOCK_WIDTH
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges. #This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
bspc config window_gap $gap; bspc config window_gap $gap;
bspc config top_padding $(($PANEL_HEIGHT-$gap)) bspc config top_padding $(($PANEL_HEIGHT-$gap))
bspc config left_padding -$gap bspc config left_padding $(($DOCK_WIDTH-$gap))
bspc config right_padding -$gap bspc config right_padding -$gap
bspc config bottom_padding -$gap bspc config bottom_padding -$gap
@@ -21,7 +23,7 @@ bspc config paddingless_monocle false
bspc config remove_disabled_monitors true bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true bspc config remove_unplugged_monitors true
## Honor size hints: do not make windows smaller than they wish to be ## Honor size hints: do not make windows smaller than they wish to be
#bspc config honor_size_hints true #bspc config honor_size_hints true
##Color settings ##Color settings
bspc config focused_border_color "#1ABB9B" bspc config focused_border_color "#1ABB9B"
@@ -112,6 +114,7 @@ autogap &
##Autostart apps ##Autostart apps
#Keybindings daemon #Keybindings daemon
sxhkd & sxhkd &
#Source autostartfile. Uncomment this if you use bspwm-git #Source autostartfile. Uncomment this if you use bspwm-git
. $HOME/.config/bspwm/autostart > /tmp/bspwm-autostart.log 2>&1 . $HOME/.config/bspwm/autostart > /tmp/bspwm-autostart.log 2>&1