summaryrefslogtreecommitdiff
path: root/.config/systemd/user
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-12-23 05:40:51 +0530
committerSaumit <justsaumit@protonmail.com>2025-12-23 05:40:51 +0530
commitc406150719e2c4dddcc56a78845c1d3675980687 (patch)
tree7bc11a7cc30f4d57b420c5ed32c2bdc4190db151 /.config/systemd/user
parentd14d0474c163cb8c3395feb67d8d4a4d399fdaa9 (diff)
eyesight: Adding a reminder daemon for 20-20-20 ruleHEADmain
Diffstat (limited to '.config/systemd/user')
-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