aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user/zellij-inhibit-suspend.path
blob: 72c509ca725c915179d15b2753c07984c8625632 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Activate suspend inhibitor whenever zellij has a live session

[Path]
# %t expands to $XDG_RUNTIME_DIR (typically /run/user/$UID); zellij keeps
# its per-version session sockets under this directory. Whenever the dir
# transitions from empty to non-empty, the service is (re)activated.
DirectoryNotEmpty=%t/zellij
Unit=zellij-inhibit-suspend.service

[Install]
WantedBy=default.target