Show temperature on bar

This commit is contained in:
Jake Howard 2019-10-03 18:24:55 +01:00
parent ee1a462570
commit 3b5f31100c
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -21,7 +21,7 @@ font-0 = "DejaVu Sans Mono:size=9;2"
font-1 = "FontAwesome5FreeSolid:size=8;2"
modules-left = xwindow
modules-center = date
modules-right = player_mpris_tail memory cpu wifi eno1 pulseaudio wattage battery power-menu
modules-right = player_mpris_tail memory cpu temperature wifi eno1 pulseaudio wattage battery power-menu
module-margin = 2
wm-restack = i3
scroll-up = i3wm-wsnext
@ -154,3 +154,12 @@ type = internal/network
inherit = module/wifi
label-connected =  %local_ip%
interface = eno1
[module/temperature]
type = internal/temperature
interval = 1
base-temperature = 20
warn-temperature = 75
label-warn-foreground = ${colors.alert}
label =  %temperature-c%
label-warn =  %temperature-c%