From e30c67483b11bab0ae3795ef7015435489ea7833 Mon Sep 17 00:00:00 2001 From: Peter Son Struschka Date: Sun, 23 Dec 2018 21:05:24 +0700 Subject: reorganization and updates --- basics/.config/systemd/user/battery-monitor.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 basics/.config/systemd/user/battery-monitor.service (limited to 'basics/.config/systemd/user/battery-monitor.service') diff --git a/basics/.config/systemd/user/battery-monitor.service b/basics/.config/systemd/user/battery-monitor.service new file mode 100644 index 0000000..c672ac5 --- /dev/null +++ b/basics/.config/systemd/user/battery-monitor.service @@ -0,0 +1,13 @@ +[Unit] +Description=Battery Monitor + +[Service] +Type=simple +Environment=DISPLAY=:0 +Environment=XAUTHORITY=%h/.Xauthority +ExecStart=/bin/bash %h/.bin/battery-monitor +Restart=always +RestartSec=10 + +[Install] +WantedBy=default.target -- cgit v1.2.3