Lock before suspend with sleep inhibitor service

This commit is contained in:
David Heinemeier Hansson
2026-05-21 07:57:08 +02:00
parent 0762b20e3e
commit d1b452cc5f
9 changed files with 91 additions and 55 deletions
@@ -0,0 +1,13 @@
[Unit]
Description=Lock Omarchy before suspend
After=dbus.socket
Requires=dbus.socket
[Service]
Type=simple
ExecStart=%h/.local/share/omarchy/bin/omarchy-system-sleep-monitor
Restart=always
RestartSec=2
[Install]
WantedBy=graphical-session.target