Browse Source

Make polybar use Xresources colors for underlines

Frans Bergman 6 years ago
parent
commit
85004916c2
1 changed files with 6 additions and 6 deletions
  1. 6 6
      .config/polybar/config

+ 6 - 6
.config/polybar/config

@@ -99,7 +99,7 @@ label-mounted = %free%
 label-unmounted = %mountpoint% not mounted
 label-unmounted-foreground = ${colors.foreground-alt}
 
-label-mounted-underline = #ffcc00
+label-mounted-underline = ${xrdb:color4:#222}
 
 [module/bspwm]
 type = internal/bspwm
@@ -194,7 +194,7 @@ type = internal/cpu
 interval = 2
 format-prefix = " "
 format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #f90000
+format-underline = ${xrdb:color5:#222}
 label = %percentage:2%%
 
 [module/memory]
@@ -202,7 +202,7 @@ type = internal/memory
 interval = 2
 format-prefix = " "
 format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #4bffdc
+format-underline = ${xrdb:color6:#222}
 label = %gb_used%
 
 [module/wlan]
@@ -232,7 +232,7 @@ type = internal/network
 interface = enp3s0
 interval = 3.0
 
-format-connected-underline = #55aa55
+format-connected-underline = ${xrdb:color9:#222}
 format-connected-prefix = " "
 format-connected-prefix-foreground = ${colors.foreground-alt}
 label-connected = %local_ip% (%linkspeed%)
@@ -255,7 +255,7 @@ time-alt = %H:%M:%S
 
 format-prefix = 
 format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #0a6cf5
+format-underline = ${xrdb:color10:#222}
 
 label = %date% %time%
 
@@ -320,7 +320,7 @@ thermal-zone = 0
 warn-temperature = 60
 
 format = <ramp> <label>
-format-underline = #f50a4d
+format-underline = ${xrdb:color11:#222}
 format-warn = <ramp> <label-warn>
 format-warn-underline = ${self.format-underline}