Define underline color and use that variable

This commit is contained in:
RealStickman 2020-11-25 17:47:53 +01:00
parent bb7fa01297
commit 2e01aa84ac
4 changed files with 13 additions and 12 deletions

View File

@ -87,6 +87,7 @@ background = #190117
foreground = #f2daf0 foreground = #f2daf0
modbackground = #33022f modbackground = #33022f
alert = #ff0000 alert = #ff0000
underline = #cc0abf
; ============================= ; =============================
red = #ff0000 red = #ff0000

View File

@ -10,30 +10,30 @@ format-charging = <animation-charging> <label-charging>
label-charging =  %percentage%% %time% left label-charging =  %percentage%% %time% left
format-charging-foreground = ${colors.foreground} format-charging-foreground = ${colors.foreground}
format-charging-background = ${colors.modbackground} format-charging-background = ${colors.modbackground}
format-charging-underline = ${colors.violet} format-charging-underline = ${colors.underline}
format-discharging = <ramp-capacity> <label-discharging> format-discharging = <ramp-capacity> <label-discharging>
label-discharging =  %percentage%% %time% left label-discharging =  %percentage%% %time% left
format-discharging-underline = ${colors.violet} format-discharging-underline = ${colors.underline}
format-discharging-foreground = ${colors.foreground} format-discharging-foreground = ${colors.foreground}
format-discharging-background = ${colors.modbackground} format-discharging-background = ${colors.modbackground}
format-full-prefix = " " format-full-prefix = " "
format-full-prefix-foreground = #a3c725 format-full-prefix-foreground = #a3c725
format-full-underline = ${colors.violet} format-full-underline = ${colors.underline}
format-foreground = ${colors.foreground} format-foreground = ${colors.foreground}
format-background = ${colors.modbackground} format-background = ${colors.modbackground}
ramp-capacity-0 = ramp-capacity-0 =
ramp-capacity-0-foreground = ${colors.violet} ramp-capacity-0-foreground = ${colors.foreground}
ramp-capacity-1 = ramp-capacity-1 =
ramp-capacity-1-foreground = ${colors.violet} ramp-capacity-1-foreground = ${colors.foreground}
ramp-capacity-2 = ramp-capacity-2 =
ramp-capacity-2-foreground = ${colors.violet} ramp-capacity-2-foreground = ${colors.foreground}
ramp-capacity-3 = ramp-capacity-3 =
ramp-capacity-3-foreground = ${colors.violet} ramp-capacity-3-foreground = ${colors.foreground}
ramp-capacity-4 = ramp-capacity-4 =
ramp-capacity-4-foreground = ${colors.violet} ramp-capacity-4-foreground = ${colors.foreground}
;ramp-capacity-foreground = #c7ae25 ;ramp-capacity-foreground = #c7ae25
animation-charging-0 = animation-charging-0 =
@ -41,5 +41,5 @@ animation-charging-1 = 
animation-charging-2 = animation-charging-2 =
animation-charging-3 = animation-charging-3 =
animation-charging-4 = animation-charging-4 =
animation-charging-foreground = ${colors.violet} animation-charging-foreground = ${colors.foreground}
animation-charging-framerate = 750 animation-charging-framerate = 750

View File

@ -11,8 +11,8 @@ date-alt = " %Y-%m-%d"
time = " %H:%M" time = " %H:%M"
time-alt = time-alt =
format-prefix = format-prefix =
format-prefix-foreground = ${colors.orange} ;format-prefix-foreground = ${colors.orange}
format-underline = ${colors.violet} format-underline = ${colors.underline}
format-foreground = ${colors.foreground} format-foreground = ${colors.foreground}
format-background = ${colors.modbackground} format-background = ${colors.modbackground}
label = %date% %time% label = %date% %time%

View File

@ -75,7 +75,7 @@ label-mode-padding = 2
label-focused = %name% label-focused = %name%
label-focused-background = ${colors.modbackground} label-focused-background = ${colors.modbackground}
label-focused-foreground = ${colors.foreground} label-focused-foreground = ${colors.foreground}
label-focused-underline = ${colors.violet} label-focused-underline = ${colors.underline}
label-focused-padding = 1 label-focused-padding = 1
; Available tokens: ; Available tokens: