Add temperature monitor
This commit is contained in:
parent
43ca837317
commit
51ecf7e199
@ -34,9 +34,9 @@
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"height": 40,
|
||||
"modules-left": ["idle_inhibitor", "gamemode", "custom/backup", "battery", "cpu", "memory", "network"],
|
||||
"modules-left": ["gamemode", "custom/backup", "battery", "cpu", "memory", "temperature", "network"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["mpris", "pulseaudio", "backlight", "clock"],
|
||||
"modules-right": ["mpris", "pulseaudio", "backlight", "idle_inhibitor", "clock"],
|
||||
"clock": {
|
||||
"format": "{:%a %b %d %I:%M %p}",
|
||||
"format-alt": "{:%Y-%m-%d}",
|
||||
@ -105,6 +105,14 @@
|
||||
"regular": 50
|
||||
}
|
||||
},
|
||||
"temperature": {
|
||||
"format": " {temperatureC}°",
|
||||
"states": {
|
||||
"critical": 90,
|
||||
"warning": 80,
|
||||
"regular": 70
|
||||
}
|
||||
},
|
||||
"mpris": {
|
||||
"interval": 1,
|
||||
"artist-len": 30,
|
||||
|
@ -149,6 +149,20 @@ window#waybar {
|
||||
color: #ebdbb2;
|
||||
padding: 0 1em;
|
||||
}
|
||||
/* Temperature*/
|
||||
#temperature {
|
||||
padding: 0 1em;
|
||||
color: #504945;
|
||||
}
|
||||
#temperature.critical {
|
||||
color: #fb4934;
|
||||
}
|
||||
#temperature.warning {
|
||||
color: #fabd2f;
|
||||
}
|
||||
#temperature.regular {
|
||||
color: #ebdbb2;
|
||||
}
|
||||
/* Custom modules */
|
||||
#custom-backup {
|
||||
color: #fb4934;
|
||||
|
Loading…
Reference in New Issue
Block a user