🐛 fix(waybar): gpu sensors

This commit is contained in:
Sergio Laín 2024-06-19 20:26:19 +02:00
parent ff46ee5075
commit d1dc91e836
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150
3 changed files with 3 additions and 3 deletions

View file

@ -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": "",

View file

@ -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": ["", "", ""],

View file

@ -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;
} }