dotfiles

Author: Kyle Fuller <kyle@fuller.li> 2025-11-02 12:41:56 +0000 +0000
Committer: Kyle Fuller <kyle@fuller.li> 2025-11-02 12:41:56 +0000 +0000
Commit: 541e41c0e6556de0dbec24332d94aadba6a52625
Parent: 8ea0785288efdc090f1c3ae0e3603cb2394b5433


feat(polybar): restyle, update fonts
diff --git a/.config/polybar/config b/.config/polybar/config
index 65122f720f1e68e3c280cbfb2c96e9debc617719..a52e568132f12cbabe9b0806850659d41861ec51 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -1,19 +1,18 @@
 [colors]
 background = #00282a36
 foreground = #fff
-foreground-alt = #fff
-primary = #d0996e
-secondary = #e60053
-alert = #993d61
+primary = #474e85
+foreground-alt = #555555
+alert = #c75f42
 
 [bar/top]
-height = 32
+height = 25
 modules-left = bspwm
-modules-right = audio date
-font-0 = Source Code Pro:style=Regular
-font-1 = "Font Awesome 5 Free Solid:pixelsize=12"
+modules-right = tray audio date time
+font-0 = Source Code Pro:style=Regular:pixelsize=10
+font-1 = "Font Awesome 6 Free:style=Solid:pixelsize=10"
 
-underline-size = 4
+underline-size = 2
 underline-color = #eee
 
 spacing = 1
@@ -27,9 +26,17 @@ foreground = ${colors.foreground}
 
 [module/date]
 type = internal/date
-label = %date% %time%
-date = "%d/%m/%Y"
+label = "%date%"
+date = "%Y-%m-%d W%U"
+format-prefix = " "
+format-prefix-foreground = ${colors.foreground-alt}
+
+[module/time]
+type = internal/date
+label = "%date% %time%"
 time = %H:%M
+format-prefix = " "
+format-prefix-foreground = ${colors.foreground-alt}
 
 [module/bspwm]
 type = internal/bspwm
@@ -45,17 +52,68 @@ label-occupied-padding = 1
 label-urgent-padding = 1
 label-empty-padding = 1
 
-label-focused = %index%
-label-occupied = %index%
+label-focused = %icon%
+label-occupied = %icon%
 label-empty = 
-label-urgent = %index%
+label-urgent = %icon%
+
+ws-icon-1 = 1;
+ws-icon-2 = 2;2
+ws-icon-3 = 3;3
+ws-icon-4 = 4;4
+ws-icon-5 = 5;5
+ws-icon-6 = 6;6
+ws-icon-7 = 7;7
+ws-icon-8 = 8;8
+ws-icon-9 = 9;9
+ws-icon-0 = 0;10
+ws-icon-default = ♟
 
 [module/audio]
 type = internal/pulseaudio
 label-muted = ""
+format-volume = <ramp-volume><label-volume>
 ramp-volume-0 = ""
 ramp-volume-1 = ""
 ramp-volume-2 = ""
-format-volume = <ramp-volume><label-volume>
+ramp-volume-foreground = ${colors.foreground-alt}
+label-muted-foreground = ${colors.foreground-alt}
+
+[module/wireless-network]
+type = internal/network
+interface = wlp1s0
+interface-type = wireless
+interval = 30
+format-connected = "<ramp-signal> <label-connected>"
+label-connected = %essid%
+ramp-signal-0 = ""
+ramp-signal-foreground = ${colors.foreground-alt}
+
+
+[module/battery]
+type = internal/battery
+battery = BAT0
+adapter = AC
+poll-interval = 15
+full-at = 98
+
+format-full = <ramp-capacity> <label-full>
+
+format-charging-prefix = " "
+format-charging-prefix-foreground = ${colors.foreground-alt}
+label-charging = %percentage%% (+%consumption%w)
+label-discharging = %percentage%% (-%consumption%w)
+label-full = %percentage%%
+
+ramp-capacity-0 = 
+ramp-capacity-1 = 
+ramp-capacity-2 = 
+ramp-capacity-3 = 
+ramp-capacity-4 = 
+ramp-capacity-foreground = ${colors.foreground-alt}
+format-discharging = <ramp-capacity> <label-discharging>
+
+[module/tray]
+type = internal/tray
 
 ; vim:ft=dosini