Allow changing panel CLI defaults

This commit is contained in:
Kovid Goyal
2025-04-28 16:25:53 +05:30
parent e65031184a
commit 83bb1553f7
4 changed files with 15 additions and 13 deletions

View File

@@ -471,7 +471,6 @@ def kitty_main(called_from_panel: bool = False) -> None:
'Run kitty and open the specified files or URLs in it, using launch-actions.conf. For details'
' see https://sw.kovidgoyal.net/kitty/open_actions/#scripting-the-opening-of-files-with-kitty-on-macos'
'\n\nAll the normal kitty options can be used.')
cli_flags = None
else:
if not called_from_panel:
cli_flags = getattr(sys, 'kitty_run_data', {}).get('cli_flags', None)