Polybar: New color naming scheme
This commit is contained in:
parent
79d710f064
commit
660793f9d6
@ -13,17 +13,17 @@ secondary = ${xrdb:color4}
|
||||
alert = ${xrdb:color3}
|
||||
warning = ${xrdb:color1}
|
||||
|
||||
icon-battery = ${xrdb:color10}
|
||||
icon-cpu = ${xrdb:color12}
|
||||
icon-date = ${res/colors.primary}
|
||||
icon-dropbox = ${res/colors.primary}
|
||||
icon-fs = ${xrdb:color11}
|
||||
icon-memory = ${xrdb:color13}
|
||||
icon-tor = ${xrdb:color13}
|
||||
icon-volume = ${res/colors.primary}
|
||||
icon-network = ${xrdb:color14}
|
||||
icon-wm = ${xrdb:color12}
|
||||
icon-xbacklight = ${res/colors.primary}
|
||||
mod-battery = ${xrdb:color10}
|
||||
mod-cpu = ${xrdb:color12}
|
||||
mod-date = ${res/colors.primary}
|
||||
mod-dropbox = ${res/colors.primary}
|
||||
mod-fs = ${xrdb:color11}
|
||||
mod-memory = ${xrdb:color13}
|
||||
mod-tor = ${xrdb:color13}
|
||||
mod-volume = ${res/colors.primary}
|
||||
mod-network = ${xrdb:color14}
|
||||
mod-wm = ${xrdb:color12}
|
||||
mod-xbacklight = ${res/colors.primary}
|
||||
|
||||
notif-package = ${self.foreground-dark}
|
||||
|
||||
@ -161,13 +161,13 @@ exec-if = [ -f /var/lib/dpkg/lock ]
|
||||
type = internal/battery
|
||||
format-charging = <label-charging>
|
||||
format-charging-prefix = "CHR: "
|
||||
format-charging-prefix-foreground = ${res/colors.icon-battery}
|
||||
format-charging-prefix-foreground = ${res/colors.mod-battery}
|
||||
format-discharging = <label-discharging>
|
||||
format-discharging-prefix = "BAT: "
|
||||
format-discharging-prefix-foreground = ${res/colors.icon-battery}
|
||||
format-discharging-prefix-foreground = ${res/colors.mod-battery}
|
||||
format-full = <label-full>
|
||||
format-full-prefix = "BAT: "
|
||||
format-full-prefix-foreground = ${res/colors.icon-battery}
|
||||
format-full-prefix-foreground = ${res/colors.mod-battery}
|
||||
time-format = %H:%M
|
||||
full-at = 100
|
||||
interval = 15
|
||||
@ -184,7 +184,7 @@ pin-workspaces = true
|
||||
|
||||
label-focused = %name%
|
||||
label-focused-padding = ${res/config.padding}
|
||||
label-focused-foreground = ${res/colors.icon-wm}
|
||||
label-focused-foreground = ${res/colors.mod-wm}
|
||||
label-focused-font = 2
|
||||
|
||||
label-dimmed-overline = ${res/colors.background}
|
||||
@ -208,7 +208,7 @@ label-empty-font = 3
|
||||
type = internal/cpu
|
||||
format = <label>
|
||||
format-prefix = "CPU: "
|
||||
format-prefix-foreground = ${res/colors.icon-cpu}
|
||||
format-prefix-foreground = ${res/colors.mod-cpu}
|
||||
interval = 1
|
||||
|
||||
label = %percentage:3%%
|
||||
@ -217,7 +217,7 @@ label = %percentage:3%%
|
||||
type = internal/date
|
||||
format = <label>
|
||||
format-prefix =
|
||||
format-prefix-foreground = ${res/colors.icon-date}
|
||||
format-prefix-foreground = ${res/colors.mod-date}
|
||||
date = %a
|
||||
time = %I:%M %p
|
||||
interval = 30
|
||||
@ -228,10 +228,10 @@ label = %date% %time%
|
||||
type = internal/network
|
||||
format-connected = <label-connected>
|
||||
format-connected-prefix = "ETH: "
|
||||
format-connected-prefix-foreground = ${res/colors.icon-network}
|
||||
format-connected-prefix-foreground = ${res/colors.mod-network}
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-prefix = "ETH: "
|
||||
format-disconnected-prefix-foreground = ${res/colors.icon-network}
|
||||
format-disconnected-prefix-foreground = ${res/colors.mod-network}
|
||||
interface = ${env:PB_MODULE_ETH_INTERFACE:enp0s31f6}
|
||||
|
||||
label-connected = %local_ip%
|
||||
@ -242,7 +242,7 @@ label-disconnected-foreground = ${res/colors.foreground-dark}
|
||||
type = internal/fs
|
||||
format-mounted = <bar-used> <label-mounted>
|
||||
format-mounted-prefix = "HOME: "
|
||||
format-mounted-prefix-foreground = ${res/colors.icon-fs}
|
||||
format-mounted-prefix-foreground = ${res/colors.mod-fs}
|
||||
mount-0 = /home
|
||||
|
||||
label-mounted = %free:5% free
|
||||
@ -258,7 +258,7 @@ exec = hostname
|
||||
type = internal/memory
|
||||
format = <label>
|
||||
format-prefix = "MEM: "
|
||||
format-prefix-foreground = ${res/colors.icon-memory}
|
||||
format-prefix-foreground = ${res/colors.mod-memory}
|
||||
interval = 1
|
||||
|
||||
label = %percentage_used:3%%
|
||||
@ -272,7 +272,7 @@ content-foreground = ${res/colors.background-alt}
|
||||
type = internal/memory
|
||||
format = <label>
|
||||
format-prefix = "SWP: "
|
||||
format-prefix-foreground = ${res/colors.icon-memory}
|
||||
format-prefix-foreground = ${res/colors.mod-memory}
|
||||
interval = 1
|
||||
|
||||
label = %percentage_swap_used:3%%
|
||||
@ -280,7 +280,7 @@ label = %percentage_swap_used:3%%
|
||||
[module/tor]
|
||||
type = custom/script
|
||||
format-prefix = "TOR: "
|
||||
format-prefix-foreground = ${res/colors.icon-tor}
|
||||
format-prefix-foreground = ${res/colors.mod-tor}
|
||||
interval = 10
|
||||
|
||||
exec = if systemctl is-failed --quiet tor; then echo Failed, see logs for details; elif ! systemctl is-enabled --quiet tor; then echo Disabled; else echo Inactive; fi
|
||||
@ -297,7 +297,7 @@ exec = uname -sr
|
||||
type = internal/volume
|
||||
format-volume = <label-volume>
|
||||
format-volume-prefix = "VOL: "
|
||||
format-volume-prefix-foreground = ${res/colors.icon-volume}
|
||||
format-volume-prefix-foreground = ${res/colors.mod-volume}
|
||||
format-muted = <label-muted>
|
||||
format-muted-prefix = "VOL: "
|
||||
format-muted-prefix-foreground = ${res/colors.foreground-dark}
|
||||
@ -310,10 +310,10 @@ label-muted-foreground = ${res/colors.foreground-dark}
|
||||
type = internal/network
|
||||
format-connected = <label-connected>
|
||||
format-connected-prefix = "WLAN: "
|
||||
format-connected-prefix-foreground = ${res/colors.icon-network}
|
||||
format-connected-prefix-foreground = ${res/colors.mod-network}
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-prefix = "WLAN: "
|
||||
format-disconnected-prefix-foreground = ${res/colors.icon-network}
|
||||
format-disconnected-prefix-foreground = ${res/colors.mod-network}
|
||||
interface = ${env:PB_MODULE_WLAN_INTERFACE:wlp1s0}
|
||||
|
||||
label-connected = %local_ip%
|
||||
@ -324,7 +324,7 @@ label-disconnected-foreground = ${res/colors.foreground-dark}
|
||||
type = internal/xbacklight
|
||||
format = <label>
|
||||
format-prefix = "BRI: "
|
||||
format-prefix-foreground = ${res/colors.icon-xbacklight}
|
||||
format-prefix-foreground = ${res/colors.mod-xbacklight}
|
||||
|
||||
label = %percentage:3%%
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user