summaryrefslogtreecommitdiff
path: root/.config/systemd/user/eye-rest-reminder.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/eye-rest-reminder.service')
-rw-r--r--.config/systemd/user/eye-rest-reminder.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/systemd/user/eye-rest-reminder.service b/.config/systemd/user/eye-rest-reminder.service
new file mode 100644
index 0000000..f4cd795
--- /dev/null
+++ b/.config/systemd/user/eye-rest-reminder.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=20-20-20 Eye Rest Reminder
+After=graphical-session.target
+
+[Service]
+Type=simple
+ExecStart=%h/.scripts/20-20-20.sh
+Restart=always
+RestartSec=10
+Environment=DISPLAY=:0
+Environment=WAYLAND_DISPLAY=wayland-1
+
+[Install]
+WantedBy=default.target