summaryrefslogtreecommitdiff
path: root/.config/systemd/user/default.target.wants/batterymon.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/default.target.wants/batterymon.service')
-rw-r--r--.config/systemd/user/default.target.wants/batterymon.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/systemd/user/default.target.wants/batterymon.service b/.config/systemd/user/default.target.wants/batterymon.service
new file mode 100644
index 0000000..c8abc0d
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/batterymon.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Battery monitor
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/batterymon 20 "amixer sset Master unmute 100%; espeak 'PLUG ME IN'; sleep 7;"
+
+[Install]
+WantedBy=default.target