aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/systemd-units/user.txt
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-units/user.txt')
-rw-r--r--systemd-units/user.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/systemd-units/user.txt b/systemd-units/user.txt
index 009b2b3..77ba788 100644
--- a/systemd-units/user.txt
+++ b/systemd-units/user.txt
@@ -18,3 +18,9 @@ wob.service
# --- mail (overridden via drop-ins in dot_config/systemd/user/) ---
protonmail-bridge.service
+
+# --- suspend inhibitor: keep host awake while any zellij session exists ---
+# Enable the .path unit; it activates the service on-demand when zellij's
+# socket dir becomes non-empty. The service wraps a poller in
+# systemd-inhibit and exits when no sessions remain, releasing the lock.
+zellij-inhibit-suspend.path