From 660793f9d6bbf4334b5b135433e2b89a676694f9 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 15 Sep 2018 12:36:05 -0500 Subject: [PATCH] Polybar: New color naming scheme --- .config/polybar/config | 54 +++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 7cb3715a..339460f1 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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 = format-charging-prefix = "CHR: " -format-charging-prefix-foreground = ${res/colors.icon-battery} +format-charging-prefix-foreground = ${res/colors.mod-battery} format-discharging = format-discharging-prefix = "BAT: " -format-discharging-prefix-foreground = ${res/colors.icon-battery} +format-discharging-prefix-foreground = ${res/colors.mod-battery} format-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 =