Show temperature on bar
This commit is contained in:
parent
ee1a462570
commit
3b5f31100c
1 changed files with 10 additions and 1 deletions
|
@ -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%
|
||||
|
|
Loading…
Reference in a new issue