mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
Harden session launch command recovery
This commit is contained in:
parent
818f80c068
commit
e2b63a06d7
3 changed files with 380 additions and 83 deletions
|
|
@ -82,10 +82,14 @@ idleinhibit_ignore_visible=0
|
|||
# Disabled by default to preserve Mango's current behavior.
|
||||
# Minimized restore is currently unsupported.
|
||||
# Restore expects target outputs to already exist before clients map.
|
||||
# Mango only restores from a trusted session file owned by the current user
|
||||
# and not writable by group or others.
|
||||
session_restore=0
|
||||
# Relaunch mapping used when Mango cannot infer a launch command from a client.
|
||||
# Optional relaunch override used when Mango cannot recover a suitable launcher.
|
||||
# Format: session_launch=app_id|command
|
||||
# or: session_launch=app_id|title|command
|
||||
# Mango prefers exact Mango-owned spawn commands, then normalized desktop/Flatpak
|
||||
# launchers, then raw process argv before consulting session_launch.
|
||||
# session_launch=foot|foot
|
||||
# session_launch=foot|gamma|foot -a foot -T gamma -e sh -lc "sleep 600"
|
||||
# session_launch=org.kde.dolphin|dolphin .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue