Fix sudo for enabling thermald unit
This commit is contained in:
@@ -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