diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/.config/systemd/user/inhibridge.service | 12 | ||||
-rwxr-xr-x | sway/install.sh | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/sway/.config/systemd/user/inhibridge.service b/sway/.config/systemd/user/inhibridge.service new file mode 100644 index 0000000..9523a61 --- /dev/null +++ b/sway/.config/systemd/user/inhibridge.service @@ -0,0 +1,12 @@ +[Unit] +Description=Simple daemon that bridges freedesktop.org ScreenSaver inhibitions to systemd-inhibit +PartOf=graphical-session.target +After=graphical-session.target + +[Service] +Type=simple +ExecStart=/usr/bin/inhibridge +Restart=on-failure + +[Install] +WantedBy=graphical-session.target diff --git a/sway/install.sh b/sway/install.sh index c7f1e11..b1e6bb9 100755 --- a/sway/install.sh +++ b/sway/install.sh @@ -9,4 +9,4 @@ fi printf "%s: Installing service\n" "$0" -systemctl --user enable --now --no-block swayidle.service +systemctl --user enable --now --no-block swayidle.service inhibridge.service |