diff --git a/de/bar/bar.bash b/de/bar/bar.bash index c08666d..bd42072 100755 --- a/de/bar/bar.bash +++ b/de/bar/bar.bash @@ -5,8 +5,6 @@ export BAR_HEIGHT=40 export BAR_ON_TOP=0 export BAR_SIDE_MARGIN=200 -echo "$BAR_MONITOR" - export GAP=$(bspc wm -d | grep -Po '(windowGap.*?,)' | grep -Po '\d*' | head -n 1) MONITOR_WIDTH=$(xrandr | grep "$BAR_MONITOR" | grep -Po ' \d+' | head -n 1) export BAR_WIDTH=$((MONITOR_WIDTH - GAP - GAP - BAR_SIDE_MARGIN - BAR_SIDE_MARGIN)) @@ -17,7 +15,6 @@ export POS_X=$((GAP + BAR_SIDE_MARGIN)) export BAR_FONT_DECLARATION="${BAR_FONT}:pixelsize=${BAR_FONT_SIZE};1" EHEIGHT=$((BAR_HEIGHT + GAP)) -echo "$EHEIGHT = $GAP + $BAR_HEIGHT" export BAR_BOTTOM="true" export POS_Y=0 diff --git a/de/bar/polybar-config b/de/bar/polybar-config index 7eee4bf..43539ce 100644 --- a/de/bar/polybar-config +++ b/de/bar/polybar-config @@ -54,10 +54,10 @@ tray-padding = 2 ;tray-transparent = true ;tray-background = #0063ff -;wm-restack = bspwm +wm-restack = bspwm ;wm-restack = i3 -;override-redirect = true +override-redirect = true ;scroll-up = bspwm-desknext ;scroll-down = bspwm-deskprev