From 66a141c666747f45c968c2faf0839a9a4c8d9f90 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 30 Nov 2016 12:43:41 -0600 Subject: [PATCH] [Linux] Add batterymon service --- dotfiles/config/systemd/user/batterymon.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dotfiles/config/systemd/user/batterymon.service diff --git a/dotfiles/config/systemd/user/batterymon.service b/dotfiles/config/systemd/user/batterymon.service new file mode 100644 index 00000000..1a452293 --- /dev/null +++ b/dotfiles/config/systemd/user/batterymon.service @@ -0,0 +1,12 @@ +[Unit] +Description=BatteryMon +Wants=taffybar.service +After=taffybar.service + +[Service] +Type=simple +ExecStart=/usr/bin/env batterymon +ExecStop=/usr/bin/pkill batterymon + +[Install] +WantedBy=wm.target