20 lines
588 B
Desktop File
20 lines
588 B
Desktop File
[Unit]
|
|
Description=Lock Blob before suspend
|
|
# The monitor calls into the running Blob shell. Wait until UWSM has imported
|
|
# BLOB_PATH and WAYLAND_DISPLAY, but keep the default target ordering so the
|
|
# monitor starts before graphical-session.target is reached.
|
|
After=dbus.socket wayland-session-waitenv.service
|
|
Requires=dbus.socket
|
|
PartOf=graphical-session.target
|
|
ConditionEnvironment=BLOB_PATH
|
|
ConditionEnvironment=WAYLAND_DISPLAY
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=%h/.local/share/blob/bin/blob-system-sleep-monitor
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|