Fix sudo for enabling thermald unit
This commit is contained in:
1 parent
e39a45b1ed
commit
0a5d66ca5e
1 file changed
+1
-1
@@ -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 ' ')
|
cpu_model=$(grep -m1 "^model\s*:" /proc/cpuinfo 2>/dev/null | cut -d: -f2 | tr -d ' ')
|
||||||
if ((cpu_model >= 42)) && omarchy-battery-present; then
|
if ((cpu_model >= 42)) && omarchy-battery-present; then
|
||||||
omarchy-pkg-add thermald
|
omarchy-pkg-add thermald
|
||||||
systemctl enable --now thermald
|
sudo systemctl enable --now thermald
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user