aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd/user/swayidle.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2024-12-15 13:49:08 +0100
committerDavid Runge <dave@sleepmap.de>2024-12-15 13:49:08 +0100
commita7a81e739a15265cc197bb847f68b05503c7c4fb (patch)
treebf60ad0f499e362b604ff19c1644983c55048f5f /.config/systemd/user/swayidle.service
parent888416bb2171c191e2ec33adaff5270f8dde3153 (diff)
downloaddotfiles-a7a81e739a15265cc197bb847f68b05503c7c4fb.tar.gz
dotfiles-a7a81e739a15265cc197bb847f68b05503c7c4fb.tar.bz2
dotfiles-a7a81e739a15265cc197bb847f68b05503c7c4fb.tar.xz
dotfiles-a7a81e739a15265cc197bb847f68b05503c7c4fb.zip
fix(swayidle): Automatically restart on failure after 500ms
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to '.config/systemd/user/swayidle.service')
-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