🐛 fix(waybar): gpu sensors
This commit is contained in:
parent
ff46ee5075
commit
d1dc91e836
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"custom/gpu-usage": {
|
"custom/gpu-usage": {
|
||||||
"exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent",
|
"exec": "cat /sys/class/hwmon/hwmon4/device/gpu_busy_percent",
|
||||||
"on-click": "kitty --class center-float-large nvtop",
|
"on-click": "kitty --class center-float-large nvtop",
|
||||||
"format": "GPU: {}%",
|
"format": "GPU: {}%",
|
||||||
"return-type": "",
|
"return-type": "",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"temperature#gpu": {
|
"temperature#gpu": {
|
||||||
"critical-threshold": 80,
|
"critical-threshold": 80,
|
||||||
"on-click": "kitty --class center-float-large nvtop",
|
"on-click": "kitty --class center-float-large nvtop",
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
|
||||||
"format-critical": "{icon} {temperatureC}°C",
|
"format-critical": "{icon} {temperatureC}°C",
|
||||||
"format": "{icon} {temperatureC}°C",
|
"format": "{icon} {temperatureC}°C",
|
||||||
"format-icons": ["", "", ""],
|
"format-icons": ["", "", ""],
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
@define-color shadow rgb(30, 32, 48);
|
@define-color shadow rgb(30, 32, 48);
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: JetBrainsMono NF;
|
font-family: JetBrainsMono Nerd Font;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue