mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 04:00:42 +00:00
Add low battery notification reminder
This commit is contained in:
parent
6c5c3fb36c
commit
f6f292306e
4 changed files with 106 additions and 0 deletions
13
home/.config/systemd/user/battery-notification.service
Normal file
13
home/.config/systemd/user/battery-notification.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description="Show a notification when the battery is low"
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=%h/.local/bin/scripts/gui/battery-notification
|
||||
Type=oneshot
|
||||
RemainAfterExit=false
|
||||
Restart=on-failure
|
||||
RestartSec=3s
|
||||
|
||||
[Install]
|
||||
WantedBy=wm-ready.target
|
Loading…
Add table
Add a link
Reference in a new issue