Update polybar config

Amolith created

Change summary

dot_config/polybar/config.tmpl | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Detailed changes

dot_config/polybar/config.tmpl 🔗

@@ -89,7 +89,7 @@ label-mode-foreground = {colors.background}
 ; focused = Active workspace on focused monitor
 label-focused = %index%
 label-focused-background = ${colors.background-alt}
-label-focused-underline= ${colors.primary}
+label-focused-underline= ${colors.background-alt}
 label-focused-padding = 2
 
 ; unfocused = Inactive workspace on any monitor
@@ -105,8 +105,8 @@ label-visible-padding = ${self.label-focused-padding}
 ; urgent = Workspace with urgency hint set
 label-urgent = %index%
 label-urgent-background = ${colors.alert}
-label-urgent-foreground = ${colors.foreground-alt}
-label-urgent-underline = ${colors.foreground-alt}
+label-urgent-foreground = ${colors.foreground}
+label-urgent-underline = ${colors.foreground}
 label-urgent-padding = 2
 
 [module/mail]
@@ -165,6 +165,7 @@ time =   %H:%M
 label = %time%
 {{- end }}
 
+{{- if eq .chezmoi.hostname "glade" }}
 [module/battery]
 type = internal/battery
 battery = BAT0
@@ -192,6 +193,7 @@ ramp-capacity-6 = 
 ramp-capacity-7 = 
 ramp-capacity-8 = 
 ramp-capacity-9 = 
+{{- end }}
 
 [module/pulseaudio]
 type = internal/pulseaudio