Fix some bar bugs
This commit is contained in:
parent
ac96ee1611
commit
c3ce63099f
|
@ -40,6 +40,7 @@ if [ $BAR_ON_TOP -eq 1 ]; then
|
||||||
bspc config -m ${BAR_MONITOR} top_padding "$EHEIGHT"
|
bspc config -m ${BAR_MONITOR} top_padding "$EHEIGHT"
|
||||||
bspc config -m ${BAR_MONITOR} bottom_padding "0"
|
bspc config -m ${BAR_MONITOR} bottom_padding "0"
|
||||||
else
|
else
|
||||||
|
export BAR_BOTTOM="true"
|
||||||
export POS_Y=$GAP
|
export POS_Y=$GAP
|
||||||
bspc config -m ${BAR_MONITOR} top_padding "0"
|
bspc config -m ${BAR_MONITOR} top_padding "0"
|
||||||
bspc config -m ${BAR_MONITOR} bottom_padding "$EHEIGHT"
|
bspc config -m ${BAR_MONITOR} bottom_padding "$EHEIGHT"
|
||||||
|
|
|
@ -42,9 +42,7 @@ module-margin-left = 1
|
||||||
module-margin-right = 2
|
module-margin-right = 2
|
||||||
|
|
||||||
font-0 = ${env:BAR_FONT_DECLARATION}
|
font-0 = ${env:BAR_FONT_DECLARATION}
|
||||||
font-1 = xos4 Terminess Powerline:size=24:antialias=false;0
|
font-1 = ${env:BAR_ICON_FONT_DECLARATION}
|
||||||
font-2 = siji:pixelsize=24;1
|
|
||||||
font-3 = ${env:BAR_ICON_FONT_DECLARATION}
|
|
||||||
|
|
||||||
modules-left = bspwm
|
modules-left = bspwm
|
||||||
modules-center =
|
modules-center =
|
||||||
|
@ -111,10 +109,10 @@ ws-icon-8 = mon;
|
||||||
ws-icon-9 = util;
|
ws-icon-9 = util;
|
||||||
ws-icon-default = ♟
|
ws-icon-default = ♟
|
||||||
|
|
||||||
label-focused-font = 4
|
label-focused-font = 2
|
||||||
label-occupied-font = 4
|
label-occupied-font = 2
|
||||||
label-urgent-font = 4
|
label-urgent-font = 2
|
||||||
label-empty-font = 4
|
label-empty-font = 2
|
||||||
|
|
||||||
; misc icon:
|
; misc icon:
|
||||||
|
|
||||||
|
@ -161,12 +159,12 @@ label =
|
||||||
bar-width = 5
|
bar-width = 5
|
||||||
bar-indicator = |
|
bar-indicator = |
|
||||||
bar-indicator-foreground = #fff
|
bar-indicator-foreground = #fff
|
||||||
bar-indicator-font = 2
|
bar-indicator-font = 0
|
||||||
bar-fill = ─
|
bar-fill = ─
|
||||||
bar-fill-font = 2
|
bar-fill-font = 0
|
||||||
bar-fill-foreground = ${xrdb:color3}
|
bar-fill-foreground = ${xrdb:color3}
|
||||||
bar-empty = ─
|
bar-empty = ─
|
||||||
bar-empty-font = 2
|
bar-empty-font = 0
|
||||||
bar-empty-foreground = ${xrdb:color3}
|
bar-empty-foreground = ${xrdb:color3}
|
||||||
|
|
||||||
[module/backlight-acpi]
|
[module/backlight-acpi]
|
||||||
|
@ -268,11 +266,11 @@ bar-volume-foreground-5 = ${xrdb:color3}
|
||||||
bar-volume-foreground-6 = ${xrdb:color3}
|
bar-volume-foreground-6 = ${xrdb:color3}
|
||||||
bar-volume-gradient = false
|
bar-volume-gradient = false
|
||||||
bar-volume-indicator = |
|
bar-volume-indicator = |
|
||||||
bar-volume-indicator-font = 2
|
bar-volume-indicator-font = 0
|
||||||
bar-volume-fill = ─
|
bar-volume-fill = -
|
||||||
bar-volume-fill-font = 2
|
bar-volume-fill-font = 0
|
||||||
bar-volume-empty = ─
|
bar-volume-empty = -
|
||||||
bar-volume-empty-font = 2
|
bar-volume-empty-font = 0
|
||||||
bar-volume-empty-foreground = ${colors.foreground-alt}
|
bar-volume-empty-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
|
|
Reference in a new issue