aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user/inhibridge.service
blob: 0b36b3573ae7190a3a6e02d4b9447098cae64d9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Bridge org.freedesktop.ScreenSaver inhibits to systemd-inhibit
Documentation=https://codeberg.org/Scrumplex/inhibridge
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=DBUS_SESSION_BUS_ADDRESS

[Service]
Type=simple
ExecStart=inhibridge
Restart=on-failure
RestartSec=2s

[Install]
WantedBy=sway-session.target