summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-03-04 15:13:21 +0100
committerAdam Stück <adam@adast.xyz>2023-03-04 15:13:21 +0100
commit6bedb1fdee1e825d4dc4103d497f167d87060198 (patch)
tree225d0acf25522e3ae9d7f2f9dc951f35d2268436
parentf41157e3d6c27977ffb834ab6d6986bdec20bfab (diff)
polybar: add more padding between modules
-rw-r--r--.config/polybar/config.ini40
1 files changed, 15 insertions, 25 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index 3f224bc..9a79e00 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -23,7 +23,7 @@ monitor-fallback = eDP-1
cursor-click = pointer
modules-left = i3 xwindow
-modules-right = forecast packages xkeyboard pulseaudio battery network date
+modules-right = forecast xkeyboard pulseaudio battery network date
font-0 = Averia Libre:style=bold:size=15;4
font-1 = Font Awesome 6 Pro Solid:size=14;5
@@ -40,7 +40,7 @@ type = internal/xkeyboard
blacklist-0 = num lock
format = <label-layout> <label-indicator>
-format-padding = 2
+format-padding = 3
label-indicator = %icon%
label-indicator-foreground = ${colors.red}
@@ -99,31 +99,28 @@ animation-low-1 = 
label-charging = 
label-full = 
-format-discharging-padding = 2
-format-charging-padding = 2
-format-full-padding = 2
-format-low-padding = 2
+format-discharging-padding = 3
+format-charging-padding = 3
+format-full-padding = 3
+format-low-padding = 3
format-low-foreground = ${colors.red}
[module/date]
type = internal/date
interval = 5
-format-padding = 2
+format-padding = 3
-label = %date%%time%
+label = %date% %time%
label-foreground = ${colors.blue}
-date = "%a, %d %b "
-date-alt = ""
-
+date = "%a %e %b "
time = %H:%M
-time-alt = %H:%M
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <ramp-volume>
-format-volume-padding = 2
-format-muted-padding = 2
+format-volume-padding = 3
+format-muted-padding = 3
label-muted = 
label-muted-foreground = ${colors.gray}
@@ -134,21 +131,14 @@ ramp-volume-2 = 
[module/xwindow]
type = internal/xwindow
-format-padding = 3
+format-padding = 4
label-maxlen = 50
-[module/packages]
-type = custom/script
-exec = ~/.local/bin/statusbar/sb-packages
-format-foreground = ${colors.orange}
-format-padding = 2
-interval = 600
-
[module/forecast]
type = custom/script
exec = ~/.local/bin/statusbar/sb-forecast
format-foreground = ${colors.purple}
-format-padding = 2
+format-padding = 3
interval = 600
click-left = ~/.local/bin/statusbar/sb-forecast --browser
@@ -161,6 +151,6 @@ interval = 3.0
label-connected = 
label-disconnected = 
-label-connected-padding = 2
-label-disconnected-padding = 2
+label-connected-padding = 3
+label-disconnected-padding = 3
label-disconnected-foreground = ${colors.gray}