mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-28 04:39:25 +00:00
Merge pull request #121 from Mane-Pal/battery-low-notification
add low power notfication issue #59
This commit is contained in:
@ -5,6 +5,9 @@ yay -S --noconfirm power-profiles-daemon
|
||||
if ls /sys/class/power_supply/BAT* &>/dev/null; then
|
||||
# This computer runs on a battery
|
||||
powerprofilesctl set balanced || true
|
||||
|
||||
# Enable battery monitoring timer for low battery notifications
|
||||
systemctl --user enable --now omarchy-battery-monitor.timer || true
|
||||
else
|
||||
# This computer runs on power outlet
|
||||
powerprofilesctl set performance || true
|
||||
|
Reference in New Issue
Block a user