Fix some bar bugs

This commit is contained in:
Daniel Flanagan 2017-05-03 13:31:10 -05:00
parent ac96ee1611
commit c3ce63099f
2 changed files with 14 additions and 15 deletions

View file

@ -40,6 +40,7 @@ if [ $BAR_ON_TOP -eq 1 ]; then
bspc config -m ${BAR_MONITOR} top_padding "$EHEIGHT"
bspc config -m ${BAR_MONITOR} bottom_padding "0"
else
export BAR_BOTTOM="true"
export POS_Y=$GAP
bspc config -m ${BAR_MONITOR} top_padding "0"
bspc config -m ${BAR_MONITOR} bottom_padding "$EHEIGHT"

View file

@ -42,9 +42,7 @@ module-margin-left = 1
module-margin-right = 2
font-0 = ${env:BAR_FONT_DECLARATION}
font-1 = xos4 Terminess Powerline:size=24:antialias=false;0
font-2 = siji:pixelsize=24;1
font-3 = ${env:BAR_ICON_FONT_DECLARATION}
font-1 = ${env:BAR_ICON_FONT_DECLARATION}
modules-left = bspwm
modules-center =
@ -111,10 +109,10 @@ ws-icon-8 = mon;
ws-icon-9 = util;
ws-icon-default = ♟
label-focused-font = 4
label-occupied-font = 4
label-urgent-font = 4
label-empty-font = 4
label-focused-font = 2
label-occupied-font = 2
label-urgent-font = 2
label-empty-font = 2
; misc icon: 
@ -161,12 +159,12 @@ label = 
bar-width = 5
bar-indicator = |
bar-indicator-foreground = #fff
bar-indicator-font = 2
bar-indicator-font = 0
bar-fill = ─
bar-fill-font = 2
bar-fill-font = 0
bar-fill-foreground = ${xrdb:color3}
bar-empty = ─
bar-empty-font = 2
bar-empty-font = 0
bar-empty-foreground = ${xrdb:color3}
[module/backlight-acpi]
@ -268,11 +266,11 @@ bar-volume-foreground-5 = ${xrdb:color3}
bar-volume-foreground-6 = ${xrdb:color3}
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill =
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-indicator-font = 0
bar-volume-fill = -
bar-volume-fill-font = 0
bar-volume-empty = -
bar-volume-empty-font = 0
bar-volume-empty-foreground = ${colors.foreground-alt}
[module/battery]