mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 05:35:19 +02:00
Add support for os_window_name in startup sessions.
You can now specify `os_window_name` in addition to `os_window_class` in startup sessions. It works for the initial session as well as new sessions started with `new_os_window`. Updated documentation in overview.rst to add `os_window_name` in the Startup Session examples. Although not related to this feature. The documentation in launch.py was updated to note that the `launch --type` `tab` and `os-window` options aren't supported when launch is invoked from a startup script. There's already a note to that effect in the "Startup Sessions" section in overview.rst but if you're looking at the launch syntax page like I was, you wouldn't realize the limitation. This was throwing me for a loop while wotking on this PR. Resolves: #8387
This commit is contained in:
@@ -167,6 +167,8 @@ option in :file:`kitty.conf`. An example, showing all available commands:
|
||||
os_window_size 80c 24c
|
||||
# Set the --class for the new OS window
|
||||
os_window_class mywindow
|
||||
# Set the --name for the new OS window
|
||||
os_window_name myname
|
||||
# Change the OS window state to normal, fullscreen, maximized or minimized
|
||||
os_window_state normal
|
||||
launch sh
|
||||
|
||||
Reference in New Issue
Block a user