From 70a4b213004eef6f5bc97d7c75b551f6f6ca7fe8 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 27 Dec 2017 15:49:02 -0600 Subject: [PATCH] Polybar: Re-add xbacklight, cull underline cruft --- .config/polybar/config | 66 +++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 43 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 908e69f6..980441c2 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -32,18 +32,6 @@ foreground-2 = ${xrdb:fg2} foreground-3 = ${xrdb:fg3} foreground-4 = ${xrdb:fg4} -underline-cpu = ${self.resource-bad-dark} -underline-fs = ${self.resource-bad-dark} -underline-memory = ${self.resource-bad-dark} -underline-temperature = ${self.resource-bad-dark} - -underline-battery = ${self.primary-dark} - -underline-backlight = ${self.primary-dark} -underline-network = ${self.primary-dark} -underline-date = ${self.primary-dark} -underline-volume = ${self.primary-dark} - [res/fonts] font-0 = "xos4 Terminus:size=9;2" font-1 = "Wuncon Siji:size=9;2" @@ -93,7 +81,7 @@ tray-position = right modules-left = i3 bspwm | temperature-label cpu-label memory-label | xwindow-label modules-center = -modules-right = | volume-ramp wlan-network eth-network battery-ramp | date +modules-right = | xbacklight-label volume-ramp wlan-network eth-network battery-ramp | date [bar/gamma] inherit = template/bar @@ -128,9 +116,6 @@ format-padding = 0 inherit = template/module type = internal/battery battery = BAT0 -format-charging-underline = ${res/colors.underline-battery} -format-discharging-underline = ${res/colors.underline-battery} -format-full-underline = ${res/colors.underline-battery} adapter = AC full-at = 98 interval = 15 @@ -138,7 +123,6 @@ interval = 15 [template/module/cpu] inherit = template/module type = internal/cpu -format-underline = ${res/colors.underline-cpu} interval = 1 [template/module/network] @@ -146,10 +130,8 @@ inherit = template/module type = internal/network interface = wlp1s0 format-connected = -format-connected-underline = ${res/colors.underline-network} -format-connected-prefix-foreground = ${self.format-connected-underline} +format-connected-prefix-foreground = ${res/colors.primary-dark} format-disconnected = -format-disconnected-underline = ${res/colors.underline-network} format-disconnected-prefix-foreground = ${res/colors.alert} label-connected = %upspeed% %downspeed% - %signal%% @@ -262,7 +244,7 @@ ramp-capacity-5=  ramp-capacity-6=  ramp-capacity-7=  ramp-capacity-8=  -ramp-capacity-foreground = ${self.format-discharging-underline} +ramp-capacity-foreground = ${res/colors.primary-dark} animation-charging-0 = ${self.ramp-capacity-0} animation-charging-1 = ${self.ramp-capacity-1} @@ -280,7 +262,7 @@ animation-charging-framerate = 500 inherit = template/module/battery format-charging = format-charging-prefix =  -format-charging-prefix-foreground = ${self.format-charging-underline} +format-charging-prefix-foreground = ${res/colors.resource-good-dark} format-discharging = format-full = format-full-prefix = " " @@ -300,16 +282,15 @@ ramp-capacity-8=  inherit = template/module/cpu format =