added cpu temp to bar, need to clean up yet
This commit is contained in:
parent
d3336137a4
commit
17e8c76c98
1 changed files with 16 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
||||||
],
|
],
|
||||||
"modules-right":
|
"modules-right":
|
||||||
[
|
[
|
||||||
|
"temperature",
|
||||||
|
"custom/temp2",
|
||||||
"custom/notification",
|
"custom/notification",
|
||||||
"custom/pacman",
|
"custom/pacman",
|
||||||
"backlight",
|
"backlight",
|
||||||
|
@ -169,6 +171,20 @@
|
||||||
},
|
},
|
||||||
"exec-if": "which waybar-updates",
|
"exec-if": "which waybar-updates",
|
||||||
"exec": "waybar-updates"
|
"exec": "waybar-updates"
|
||||||
|
},
|
||||||
|
|
||||||
|
"temperature": {
|
||||||
|
"thermal-zone": 0,
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"formate-critical": "{temperatureC}°C",
|
||||||
|
"format": "{temperatureC}°C"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/temp2": {
|
||||||
|
"hwmon-path": ["/sys/class/hwmon/hwmon2/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"formate-critical": "{temperatureC}°C",
|
||||||
|
"format": "{temperatureC}°C"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue