aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/swayidle.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/systemd/user/swayidle.service b/.config/systemd/user/swayidle.service
index 2d0fcc1..e80b39e 100644
--- a/.config/systemd/user/swayidle.service
+++ b/.config/systemd/user/swayidle.service
@@ -6,6 +6,8 @@ BindsTo=sway-session.target
[Service]
Type=simple
ExecStart=/usr/bin/swayidle -w
+Restart=on-failure
+RestartSec=500ms
[Install]
WantedBy=sway-session.target