From 5c2f8e8bcd55a8ee9d26658cdba7a3a12049432d Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 27 Jul 2022 16:04:34 +0200 Subject: polybar: no hardcoded padding --- .config/polybar/config.ini | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to '.config/polybar/config.ini') diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index fd315aa..b062b7c 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -96,7 +96,7 @@ blacklist-0 = num lock format = format-spacing = 1 -label-layout = " %layout% " +label-layout-padding = 2 label-layout-background = ${colors.background-module} label-indicator-padding = 2 @@ -149,8 +149,9 @@ date = "%a, %d %b " time-alt = %H:%M time = %H:%M -label = " %date%%time% " +label = %date%%time% label-background = ${colors.background-module} +label-padding = 2 [module/date2] type = internal/date @@ -162,21 +163,24 @@ date-alt = "%a, %d %b " time = %H:%M time-alt = %H:%M -label = " %date%%time% " +label = %date%%time% label-background = ${colors.background-module} +label-padding = 2 [module/pulseaudio] type = internal/pulseaudio format-volume = -label-volume = "  %percentage% " +label-volume = " %percentage%" label-volume-foreground = ${root.foreground} label-volume-background = ${colors.background-module} +label-volume-padding = 2 -label-muted = "  muted " +label-muted = " muted" label-muted-foreground = #999 label-muted-background = ${colors.background-module} +label-muted-padding = 2 [module/xwindow] type = internal/xwindow @@ -189,12 +193,14 @@ exec = /home/adam/.config/polybar/extra/updates-pacman-aurhelper.sh interval = 600 format-foreground = ${root.foreground} format-background = ${colors.background-module} +format-padding = 2 [module/weather] type = custom/script exec = /home/adam/.local/bin/forecast interval = 600 format-background = ${colors.background-module} +format-padding = 2 [settings] screenchange-reload = true -- cgit v1.2.3-70-g09d2