Skip to content

Commit

Permalink
Add temporary undocumented custom Desktop Entry variable to run in th…
Browse files Browse the repository at this point in the history
…e same scope (skip systemd-run)
  • Loading branch information
friday committed Sep 4, 2021
1 parent 8c99820 commit 341712f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulauncher/api/shared/action/LaunchAppAction.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run(self):
sanitized_exec = ['gtk-launch', app_id]
else:
sanitized_exec = shlex.split(sanitized_exec)
if hasSystemdRun:
if hasSystemdRun and not app.get_boolean('X-Ulauncher-Inherit-Scope'):
# Escape the Ulauncher cgroup, so this process isn't considered a child process of Ulauncher
# and doesn't die if Ulauncher dies/crashed/is terminated
# The slice name is super sensitive and must not contain invalid characters like space
Expand Down

0 comments on commit 341712f

Please sign in to comment.