From a7a81e739a15265cc197bb847f68b05503c7c4fb Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 15 Dec 2024 13:49:08 +0100 Subject: fix(swayidle): Automatically restart on failure after 500ms Signed-off-by: David Runge --- .config/systemd/user/swayidle.service | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/systemd/user') 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 -- cgit v1.2.3-70-g09d2