mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Ensure we are running at maximum power on a desktop machine
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
yay -S --noconfirm --needed \
|
||||
brightnessctl playerctl wpctl pamixer pavucontrol wireplumber power-profiles-daemon blueberry \
|
||||
brightnessctl playerctl wpctl pamixer pavucontrol wireplumber blueberry \
|
||||
fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool \
|
||||
wl-clip-persist clipse \
|
||||
nautilus sushi gnome-calculator \
|
||||
|
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