battery-notify

battery level notifier
git clone git://git.pyratebeard.net/battery-notify.git
Log | Files | Refs | README

commit a94d611a54e56f5b11c530b705c61cdac512fd8a
parent e47cba2bfd81f7b06113d71614a7e896a2c26f93
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue,  5 Mar 2019 14:08:07 +0000

systemd service and timer

Diffstat:
Abattery-notify.service | 8++++++++
Abattery-notify.timer | 9+++++++++
2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/battery-notify.service b/battery-notify.service @@ -0,0 +1,8 @@ +[Unit] +Description=battery-notify + +[Service] +ExecStart=%h/bin/check-batt + +[Install] +WantedBy=default.target diff --git a/battery-notify.timer b/battery-notify.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Timer to run battery-notify + +[Timer] +OnActiveSec=1min +OnUnitActiveSec=1min + +[Install] +WantedBy=timers.target