dotfiles/home/.config/systemd/user/battery-notification.service

14 lines
298 B
Desktop File

[Unit]
Description=Show a notification when the battery is low
Requires=graphical-session.target
[Service]
Type=oneshot
ExecStart=%h/.local/bin/scripts/gui/battery-notification
RemainAfterExit=false
Restart=on-failure
Slice=background-graphical.slice
[Install]
WantedBy=graphical-session.target