From cffd442b8435cbbfb4111dbcdc5b6a88616a213e Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 24 Nov 2021 21:08:22 +0100 Subject: swayidle: Add systemd user service .config/systemd/user/swayidle.service: Add systemd user service, that binds to sway-session.target. --- .config/systemd/user/swayidle.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .config/systemd/user/swayidle.service (limited to '.config/systemd/user') diff --git a/.config/systemd/user/swayidle.service b/.config/systemd/user/swayidle.service new file mode 100644 index 0000000..2d0fcc1 --- /dev/null +++ b/.config/systemd/user/swayidle.service @@ -0,0 +1,11 @@ +[Unit] +Description=Idle manager for Wayland +Documentation=man:swayidle(1) +BindsTo=sway-session.target + +[Service] +Type=simple +ExecStart=/usr/bin/swayidle -w + +[Install] +WantedBy=sway-session.target -- cgit v1.2.3-70-g09d2