20 lines
659 B
Desktop File
20 lines
659 B
Desktop File
[Unit]
|
|
Description=Announce process crashes and offer an AI diagnosis
|
|
# Needs the session bus to notify, and uwsm-app to open the diagnosis terminal.
|
|
# Both are up only after graphical-session.target.
|
|
After=graphical-session.target
|
|
PartOf=graphical-session.target
|
|
ConditionEnvironment=WAYLAND_DISPLAY
|
|
# Set by blob-toggle-crash-capture. Checked here so a disabled watcher stays
|
|
# disabled across logins without the unit having to be disabled.
|
|
ConditionPathExists=!%h/.local/state/blob/toggles/crash-capture-off
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=%h/.local/share/blob/bin/blob-crash-watch
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|