Fix inconsistent temperature paths

This commit is contained in:
Sam A. 2023-02-04 19:57:10 +01:00
parent 26804d333b
commit 6aa3ee0a29
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,9 @@ exec pipewire-pulse
exec wireplumber
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Fix inconsistent temperature paths
exec ln -sf "$(dirname $(grep -l coretemp /sys/class/hwmon/hwmon*/name))"/temp1_input /tmp/temperature
# Make xdg-desktop-portal-wlr work properly
exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY

View File

@ -82,7 +82,7 @@
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"temperature": {
"thermal-zone": 1,
"hwmon-path": "/tmp/temperature",
"critical-threshold": 80,
"format": "{icon} {temperatureC}°C",
"format-critical": "{icon} {temperatureC}°C",