Fix inconsistent temperature paths
This commit is contained in:
parent
26804d333b
commit
6aa3ee0a29
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue