Fix sudo for enabling thermald unit

This commit is contained in:
David Heinemeier Hansson
2026-03-15 21:17:14 +01:00
parent e39a45b1ed
commit 0a5d66ca5e
+1 -1
View File
@@ -6,6 +6,6 @@ if omarchy-hw-intel; then
cpu_model=$(grep -m1 "^model\s*:" /proc/cpuinfo 2>/dev/null | cut -d: -f2 | tr -d ' ')
if ((cpu_model >= 42)) && omarchy-battery-present; then
omarchy-pkg-add thermald
systemctl enable --now thermald
sudo systemctl enable --now thermald
fi
fi