Polybar - Update dwm title length

set 80 title length
This commit is contained in:
Przemek Grondek 2023-08-06 16:12:52 +02:00
parent 0ec9cdb4c1
commit dc8b37dc1b

View File

@ -26,7 +26,7 @@ secondary = #e60053
alert = #bd2c40 alert = #bd2c40
[bar/dwm] [bar/dwm]
monitor = ${env:MONITOR:HDMI-1} monitor = ${env:MONITOR:DP-3}
width = 100% width = 100%
height = 27 height = 27
radius = 5.0 radius = 5.0
@ -113,8 +113,8 @@ secondary-layout-symbol = [M]
label-title = %title% label-title = %title%
label-title-padding = 0 label-title-padding = 0
label-title-forefround = ${colors.primary} label-title-forefround = ${colors.primary}
label-title-maxlen = 120 label-title-maxlen = 80
label-title-minlen = 120 label-title-minlen = 80
label-title-alignment = left label-title-alignment = left
label-layout = %symbol% label-layout = %symbol%
@ -335,6 +335,7 @@ ramp-foreground = ${colors.foreground-alt}
type = custom/script type = custom/script
exec = ~/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}' exec = ~/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}'
tail = true tail = true
label-maxlen = 50
[module/myip] [module/myip]
type = custom/script type = custom/script