Polybar: Switch Temperature to Material

This commit is contained in:
Salt 2017-09-05 18:30:50 -05:00
parent 8110249fab
commit 19502b3565

View File

@ -93,7 +93,7 @@ border-top-color = ${res/colors.background-2}
modules-left = i3 bspwm | wlan-network eth-network | mpd modules-left = i3 bspwm | wlan-network eth-network | mpd
modules-center = xwindow-label modules-center = xwindow-label
modules-right = temperature-ramp cpu-label memory-label | xbacklight-label volume-ramp battery-ramp | date modules-right = temperature-label cpu-label memory-label | xbacklight-label volume-ramp battery-ramp | date
;======================================== ;========================================
; MODULES ; MODULES
@ -392,28 +392,22 @@ inherit = module/mpd
format-online = <icon-random> <icon-repeat> format-online = <icon-random> <icon-repeat>
label-offline = label-offline =
[module/temperature-ramp] [module/temperature-label]
inherit = template/module/temperature inherit = template/module/temperature
format = <ramp> <label> format = <label>
format-underline = ${res/colors.underline-temperature} format-underline = ${res/colors.underline-temperature}
format-prefix = " "
format-prefix-foreground = ${self.format-underline}
format-warning = <label> format-warning = <label>
format-warning-overline = ${res/colors.alert} format-warning-overline = ${res/colors.alert}
format-warning-underline = ${res/colors.underline-temperature} format-warning-underline = ${res/colors.underline-temperature}
format-warning-prefix = " " format-warning-prefix = " "
format-warning-prefix-foreground = ${res/colors.alert} format-warning-prefix-foreground = ${res/colors.alert}
label = %temperature% label = %temperature%
label-warn = %temperature% label-warn = %temperature%
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-3 = 
ramp-4 = 
;ramp-0 = 
ramp-foreground = ${self.format-underline}
[module/volume-ramp] [module/volume-ramp]
type = internal/volume type = internal/volume
format-volume = <ramp-volume> <label-volume> format-volume = <ramp-volume> <label-volume>