polybar: farben

This commit is contained in:
Michael Grote 2022-07-21 22:27:59 +02:00
parent 375e15a2af
commit 9a80c3f4f8
10 changed files with 27 additions and 24 deletions

View file

@ -1,8 +1,11 @@
[colors] [colors]
background = #222 #background = #222
background-alt = #444 #background-alt = #444
foreground = #dfdfdf #foreground = #dfdfdf
foreground-alt = #555 #primary = #ffb52a
primary = #ffb52a #secondary = #e60053
secondary = #e60053 #alert = #bd2c40
alert = #bd2c40
green = #32CD32
orange = #FF8A00
darkgrey = #555

View file

@ -8,8 +8,8 @@ label-charging =%percentage%% (CHG) // %consumption%W
label-discharging =%percentage%% @ %consumption%W label-discharging =%percentage%% @ %consumption%W
label-full = FULL // %consumption%W label-full = FULL // %consumption%W
format-charging-prefix = "PWR " format-charging-prefix = "PWR "
format-charging-prefix-foreground =${colors.foreground-alt} format-charging-prefix-foreground =${colors.darkgrey}
format-discharging-prefix = "PWR " format-discharging-prefix = "PWR "
format-discharging-prefix-foreground =${colors.foreground-alt} format-discharging-prefix-foreground =${colors.darkgrey}
format-full-prefix = "PWR " format-full-prefix = "PWR "
format-full-prefix-foreground =${colors.foreground-alt} format-full-prefix-foreground =${colors.darkgrey}

View file

@ -7,5 +7,5 @@ format-prefix = "LAVG "
type = internal/cpu type = internal/cpu
interval = 5 interval = 5
format-prefix = "CPU " format-prefix = "CPU "
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.darkgrey}
label = %percentage:2%% label = %percentage:2%%

View file

@ -4,4 +4,4 @@ mount-0 = /
label-mounted = %percentage_used%% label-mounted = %percentage_used%%
format-mounted = <label-mounted> format-mounted = <label-mounted>
format-mounted-prefix = "DU " format-mounted-prefix = "DU "
format-mounted-prefix-foreground =${colors.foreground-alt} format-mounted-prefix-foreground =${colors.darkgrey}

View file

@ -2,4 +2,4 @@
type = custom/script type = custom/script
exec = ~/dotfiles/scripts/polybar/dunst.sh exec = ~/dotfiles/scripts/polybar/dunst.sh
interval = 2 interval = 2
format-foreground = ${colors.foreground-alt} format-foreground = ${colors.darkgrey}

View file

@ -2,5 +2,5 @@
type = internal/memory type = internal/memory
interval = 5 interval = 5
format-prefix = "MEM " format-prefix = "MEM "
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.darkgrey}
label = %percentage_used%% label = %percentage_used%%

View file

@ -9,8 +9,8 @@ format-disconnected = <label-disconnected>
format-connected-prefix = "NW " format-connected-prefix = "NW "
format-disconnected-prefix = "NW " format-disconnected-prefix = "NW "
format-connected-prefix-foreground = ${colors.foreground-alt} format-connected-prefix-foreground = ${colors.darkgrey}
format-disconnected-prefix-foreground = ${colors.foreground-alt} format-disconnected-prefix-foreground = ${colors.darkgrey}
label-connected = %ifname% @ %local_ip% label-connected = %ifname% @ %local_ip%
label-disconnected = %ifname%: not connected label-disconnected = %ifname%: not connected
@ -27,5 +27,5 @@ format-disconnected = <label-disconnected>
format-connected-prefix = "NW " format-connected-prefix = "NW "
format-disconnected-prefix = "NW " format-disconnected-prefix = "NW "
format-connected-prefix-foreground = ${colors.foreground-alt} format-connected-prefix-foreground = ${colors.darkgrey}
format-disconnected-prefix-foreground = ${colors.foreground-alt} format-disconnected-prefix-foreground = ${colors.darkgrey}

View file

@ -6,12 +6,12 @@ use-ui-max = true
format-volume = <label-volume> format-volume = <label-volume>
format-volume-prefix = "VOL " format-volume-prefix = "VOL "
format-volume-prefix-foreground =${colors.foreground-alt} format-volume-prefix-foreground =${colors.darkgrey}
label-muted = muted label-muted = muted
format-muted-prefix = "VOL " format-muted-prefix = "VOL "
format-muted-prefix-foreground =${colors.foreground-alt} format-muted-prefix-foreground =${colors.darkgrey}
click-right = pavucontrol click-right = pavucontrol

View file

@ -1,10 +1,10 @@
[module/startmenu] [module/startmenu]
type = custom/menu type = custom/menu
format-full-prefix-foreground =${colors.foreground-alt} format-full-prefix-foreground = ${colors.darkgrey}
label-open =" Start " label-open =" Start "
label-close =" Close " label-close =" Close "
label-open-background = "#32CD32" label-open-background = ${colors.green}
label-close-background = "#FF8A00" label-close-background = ${colors.orange}
label-separator = | label-separator = |
format-spacing = 1 format-spacing = 1

View file

@ -1,4 +1,4 @@
[module/defaults] [module/defaults]
type = custom/script type = custom/script
interval = 30 interval = 30
format-prefix-foreground = ${colors.foreground-alt} format-prefix-foreground = ${colors.darkgrey}