fix weird background and text not truncating
This commit is contained in:
parent
836b52e741
commit
e84ef62d1d
13
config
13
config
|
@ -149,7 +149,7 @@ inherit = modules/format
|
||||||
label-background = ${colors.audio}
|
label-background = ${colors.audio}
|
||||||
label-foreground = ${colors.bg}
|
label-foreground = ${colors.bg}
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = $HOME/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}' --icon-playing "契" --icon-paused ""
|
exec = $HOME/.config/polybar/player-mpris-tail.py -f '{icon} {:t12:{artist}:} - {:t22:{title}:}' --icon-playing "契" --icon-paused ""
|
||||||
tail = true
|
tail = true
|
||||||
click-left = $HOME/.config/polybar/player-mpris-tail.py previous &
|
click-left = $HOME/.config/polybar/player-mpris-tail.py previous &
|
||||||
click-right = $HOME/.config/polybar/player-mpris-tail.py next &
|
click-right = $HOME/.config/polybar/player-mpris-tail.py next &
|
||||||
|
@ -164,16 +164,11 @@ content-background = ${colors.keyboard}
|
||||||
inherit = modules/format
|
inherit = modules/format
|
||||||
type = internal/xkeyboard
|
type = internal/xkeyboard
|
||||||
format-background = ${colors.keyboard}
|
format-background = ${colors.keyboard}
|
||||||
label-layout-padding = ${var.padding}
|
format-foreground = ${colors.bg}
|
||||||
label-layout = %layout%
|
label-layout = %layout%
|
||||||
label-indicator-on-capslock = בּ
|
label-indicator-on-capslock = בּ
|
||||||
label-indicator-on-capslock-background = ${colors.keyboard}
|
|
||||||
label-indicator-on-capslock-foreground = ${colors.bg}
|
|
||||||
label-indicator-on-capslock-padding = ${var.padding}
|
label-indicator-on-capslock-padding = ${var.padding}
|
||||||
label-indicator-on-background = ${colors.keyboard}
|
label-layout-padding = ${var.padding}
|
||||||
label-layout-background = ${colors.keyboard}
|
|
||||||
label-layout-foreground = ${colors.bg}
|
|
||||||
label-indicator-background = ${colors.keyboard}
|
|
||||||
|
|
||||||
[module/keyboardarrow]
|
[module/keyboardarrow]
|
||||||
inherit = arrows/arrowR
|
inherit = arrows/arrowR
|
||||||
|
|
Loading…
Reference in New Issue