more bar fixes
This commit is contained in:
parent
b851af90c3
commit
ac4cb659cf
2 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue