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