diff options
Diffstat (limited to '.config/polybar/config')
-rw-r--r-- | .config/polybar/config | 68 |
1 files changed, 36 insertions, 32 deletions
diff --git a/.config/polybar/config b/.config/polybar/config index 5b8bb1b..a41fa10 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -4,6 +4,7 @@ ;background = #080f1f background = #090809 background-alt = #1b2f60 +background-module = #111e3d ;foreground = ${xrdb:color7:#222} foreground = #dfdfdf foreground-alt = #254183 @@ -35,7 +36,7 @@ padding-left = 0 padding-right = 2 module-margin-left = 0 -module-margin-right = 4 +module-margin-right = 2 font-0 = Averia Libre:style=bold:size=16;5 font-1 = Font Awesome 5 Free Regular:size=14;4.5 @@ -58,13 +59,18 @@ enable-ipc = true [module/xkeyboard] type = internal/xkeyboard -;blacklist-0 = num lock -label-layout = "%layout% " -label-layout-background = ${colors.background} + +format = <label-layout><label-indicator> +format-spacing = 0 +;format-prefix = " " +;format-prefix-foreground = ${colors.foreground} +;format-prefix-background = ${colors.background-alt} + +label-layout = " %layout% " +label-layout-background = ${colors.background-module} label-indicator-padding = 2 -label-indicator-margin = 0 -label-indicator-background = ${colors.alert} +label-indicator-background = ${colors.secondary} @@ -124,7 +130,7 @@ format-charging = <animation-charging> <label-charging> ; <ramp-capacity> ; <animation-discharging> format-discharging = <ramp-capacity> <label-discharging> -format-discharging-background = ${colors.background} +format-discharging-background = ${colors.background-module} ; Available tokens: ; %percentage% (default) - is set to 100 if full-at is reached @@ -132,33 +138,33 @@ format-discharging-background = ${colors.background} ; %time% ; %consumption% (shows current charge rate in watts) label-charging = %percentage% -label-charging-background = ${colors.background} +label-charging-background = ${colors.background-module} format-full = <ramp-capacity> <label-full> -format-full-background = ${colors.background} +format-full-background = ${colors.background-module} label-full = %percentage% -label-full-background = ${colors.background} +label-full-background = ${colors.background-module} ; Available tokens: ; %percentage% (default) - is set to 100 if full-at is reached ; %percentage_raw% ; %time% ; %consumption% (shows current discharge rate in watts) -label-discharging = "%percentage%" -label-discharging-background = ${colors.background} +label-discharging = "%percentage% " +label-discharging-background = ${colors.background-module} ; Only applies if <ramp-capacity> is used -ramp-capacity-0 = " " -ramp-capacity-1 = " " -ramp-capacity-2 = " " -ramp-capacity-3 = " " -ramp-capacity-4 = " " - -animation-charging-0 = " " -animation-charging-1 = " " -animation-charging-2 = " " -animation-charging-3 = " " -animation-charging-4 = " " +ramp-capacity-0 = " " +ramp-capacity-1 = " " +ramp-capacity-2 = " " +ramp-capacity-3 = " " +ramp-capacity-4 = " " + +animation-charging-0 = " " +animation-charging-1 = " " +animation-charging-2 = " " +animation-charging-3 = " " +animation-charging-4 = " " animation-charging-framerate = 750 [module/date] @@ -166,15 +172,13 @@ type = internal/date interval = 5 date-alt = "" -date = " %a, %d %b " +date = "%a, %d %b " time-alt = %H:%M time = %H:%M -label = "%date%%time% " -label-background = ${colors.background} - - +label = " %date%%time% " +label-background = ${colors.background-module} [module/pulseaudio] type = internal/pulseaudio @@ -182,13 +186,13 @@ type = internal/pulseaudio format-volume = <label-volume> format-volume-background = ${colors.background} -label-volume = " %percentage%" +label-volume = " %percentage% " label-volume-foreground = ${root.foreground} -label-volume-background = ${colors.background} +label-volume-background = ${colors.background-module} -label-muted = " muted" +label-muted = " muted " label-muted-foreground = #999 -label-muted-background = ${colors.background} +label-muted-background = ${colors.background-module} |