diff options
author | David Runge <dave@sleepmap.de> | 2021-11-24 21:08:22 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2021-11-24 21:08:22 +0100 |
commit | cffd442b8435cbbfb4111dbcdc5b6a88616a213e (patch) | |
tree | a46b302c0efa323cb447fb351b24d7a849bdd901 /.config/systemd/user/swayidle.service | |
parent | c336c96924798f12632b486e522489216f4c1748 (diff) | |
download | dotfiles-cffd442b8435cbbfb4111dbcdc5b6a88616a213e.tar.gz dotfiles-cffd442b8435cbbfb4111dbcdc5b6a88616a213e.tar.bz2 dotfiles-cffd442b8435cbbfb4111dbcdc5b6a88616a213e.tar.xz dotfiles-cffd442b8435cbbfb4111dbcdc5b6a88616a213e.zip |
swayidle: Add systemd user service
.config/systemd/user/swayidle.service:
Add systemd user service, that binds to sway-session.target.
Diffstat (limited to '.config/systemd/user/swayidle.service')
-rw-r--r-- | .config/systemd/user/swayidle.service | 11 |
1 files changed, 11 insertions, 0 deletions
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 |