From d1dc91e836081496b544a4249217bd3b6f465383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Wed, 19 Jun 2024 20:26:19 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(waybar):=20gpu=20sensors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/waybar/modules/custom-gpu-usage.jsonc | 2 +- .config/waybar/modules/temperature-gpu.jsonc | 2 +- .config/waybar/style.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/waybar/modules/custom-gpu-usage.jsonc b/.config/waybar/modules/custom-gpu-usage.jsonc index 19eac8bd..61ea8130 100644 --- a/.config/waybar/modules/custom-gpu-usage.jsonc +++ b/.config/waybar/modules/custom-gpu-usage.jsonc @@ -1,6 +1,6 @@ { "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", "format": "GPU: {}%", "return-type": "", diff --git a/.config/waybar/modules/temperature-gpu.jsonc b/.config/waybar/modules/temperature-gpu.jsonc index 20cab760..2555ea7a 100644 --- a/.config/waybar/modules/temperature-gpu.jsonc +++ b/.config/waybar/modules/temperature-gpu.jsonc @@ -2,7 +2,7 @@ "temperature#gpu": { "critical-threshold": 80, "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": "{icon} {temperatureC}°C", "format-icons": ["", "", ""], diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 32cc2147..81b25524 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -21,7 +21,7 @@ @define-color shadow rgb(30, 32, 48); * { - font-family: JetBrainsMono NF; + font-family: JetBrainsMono Nerd Font; font-size: 13px; min-height: 0; }