aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/unclutter.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/unclutter.service')
-rw-r--r--.config/systemd/user/unclutter.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/systemd/user/unclutter.service b/.config/systemd/user/unclutter.service
index ac4941c..78f0c40 100644
--- a/.config/systemd/user/unclutter.service
+++ b/.config/systemd/user/unclutter.service
@@ -1,12 +1,13 @@
[Unit]
Description=Hide mouse on idle
+StartLimitIntervalSec=0
[Service]
Type=simple
-ExecStart=/usr/bin/env unclutter -idle 1
+RestartSec=3
Restart=always
-RestartSec=5s
SyslogIdentifier=unclutter
+ExecStart=/usr/bin/env unclutter -idle 1 -grab
[Install]
WantedBy=default.target