From dc8b37dc1b3ff7911cb3a82f175cf55c4d12c543 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sun, 6 Aug 2023 16:12:52 +0200 Subject: [PATCH] Polybar - Update dwm title length set 80 title length --- .config/polybar/config.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 598b90b..c090e6d 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -26,7 +26,7 @@ secondary = #e60053 alert = #bd2c40 [bar/dwm] -monitor = ${env:MONITOR:HDMI-1} +monitor = ${env:MONITOR:DP-3} width = 100% height = 27 radius = 5.0 @@ -113,8 +113,8 @@ secondary-layout-symbol = [M] label-title = %title% label-title-padding = 0 label-title-forefround = ${colors.primary} -label-title-maxlen = 120 -label-title-minlen = 120 +label-title-maxlen = 80 +label-title-minlen = 80 label-title-alignment = left label-layout = %symbol% @@ -335,6 +335,7 @@ ramp-foreground = ${colors.foreground-alt} type = custom/script exec = ~/.config/polybar/player-mpris-tail.py -f '{icon} {artist} - {title}' tail = true +label-maxlen = 50 [module/myip] type = custom/script