Merge pull request #121 from Mane-Pal/battery-low-notification

add low power notfication issue #59
This commit is contained in:
David Heinemeier Hansson authored and GitHub committed 2025-07-10 18:33:36 -04:00
commit 8b5275456b
5 files changed
+69

No files matched your search

+3
View File
@@ -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