mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-28 04:39:25 +00:00
Ensure we are running at maximum power on a desktop machine
This commit is contained in:
8
install/power.sh
Normal file
8
install/power.sh
Normal file
@ -0,0 +1,8 @@
|
||||
yay -S --noconfirm power-profiles-daemon
|
||||
|
||||
if ls /sys/class/power_supply/BAT* &>/dev/null; then
|
||||
# This computer runs on a battery, leave powerprofile at Balanced
|
||||
else
|
||||
# Always use maximum power when using a desktop machine
|
||||
powerprofilesctl set performance
|
||||
fi
|
Reference in New Issue
Block a user