mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Quick access terminal: Allow configuring the monitor to display the panel on in Wayland/X11
Fixes #8630
This commit is contained in:
@@ -117,6 +117,8 @@ Detailed list of changes
|
|||||||
|
|
||||||
- Quick access terminal: Allow toggling the window to full screen and map using the standard kitty :sc:`toggle_fullscreen` shortcut (:iss:`8626`)
|
- Quick access terminal: Allow toggling the window to full screen and map using the standard kitty :sc:`toggle_fullscreen` shortcut (:iss:`8626`)
|
||||||
|
|
||||||
|
- Quick access terminal: Allow configuring the monitor to display the panel on in Wayland/X11 (:iss:`8630`)
|
||||||
|
|
||||||
- A new setting :opt:`remember_window_position` to optionally use the position of the last closed kitty OS Window as the position of the first kitty OS Window when running a new kitty instance (:pull:`8601`)
|
- A new setting :opt:`remember_window_position` to optionally use the position of the last closed kitty OS Window as the position of the first kitty OS Window when running a new kitty instance (:pull:`8601`)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,9 @@ func main(cmd *cli.Command, opts *Options, args []string) (rc int, err error) {
|
|||||||
argv = append(argv, fmt.Sprintf("--override=background_opacity=%f", conf.Background_opacity))
|
argv = append(argv, fmt.Sprintf("--override=background_opacity=%f", conf.Background_opacity))
|
||||||
if runtime.GOOS != "darwin" {
|
if runtime.GOOS != "darwin" {
|
||||||
argv = append(argv, fmt.Sprintf("--app-id=%s", conf.App_id))
|
argv = append(argv, fmt.Sprintf("--app-id=%s", conf.App_id))
|
||||||
|
if conf.Output_name != "" {
|
||||||
|
argv = append(argv, fmt.Sprintf("--output-name=%s", conf.Output_name))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
argv = append(argv, fmt.Sprintf("--focus-policy=%s", conf.Focus_policy))
|
argv = append(argv, fmt.Sprintf("--focus-policy=%s", conf.Focus_policy))
|
||||||
if conf.Start_as_hidden {
|
if conf.Start_as_hidden {
|
||||||
|
|||||||
@@ -69,6 +69,13 @@ opt('+kitty_override', '', long_text='Override individual kitty configuration op
|
|||||||
opt('app_id', f'{appname}-quick-access',
|
opt('app_id', f'{appname}-quick-access',
|
||||||
long_text='The Wayland APP_ID assigned to the quick access window (Linux only)')
|
long_text='The Wayland APP_ID assigned to the quick access window (Linux only)')
|
||||||
|
|
||||||
|
|
||||||
|
opt('output_name', '', long_text='''
|
||||||
|
On Wayland or X11, the panel can only be displayed on a single monitor (output) at a time. This allows
|
||||||
|
you to specify which output is used, by name. If not specified the compositor will choose an
|
||||||
|
output automatically, typically the last output the user interacted with or the primary monitor.
|
||||||
|
''')
|
||||||
|
|
||||||
opt('start_as_hidden', 'no', option_type='to_bool',
|
opt('start_as_hidden', 'no', option_type='to_bool',
|
||||||
long_text='Whether to start the quick access terminal hidden. Useful if you are starting it as part of system startup.')
|
long_text='Whether to start the quick access terminal hidden. Useful if you are starting it as part of system startup.')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user