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

@@ -0,0 +1,8 @@
[Unit]
Description=Omarchy Battery Monitor Check
After=graphical-session.target
[Service]
Type=oneshot
ExecStart=%h/.local/share/omarchy/bin/omarchy-battery-monitor
Environment=DISPLAY=:0
@@ -0,0 +1,11 @@
[Unit]
Description=Omarchy Battery Monitor Timer
Requires=omarchy-battery-monitor.service
[Timer]
OnBootSec=1min
OnUnitActiveSec=30sec
AccuracySec=10sec
[Install]
WantedBy=timers.target