Dont pass --app-id on macOS

This commit is contained in:
Kovid Goyal
2025-04-29 08:55:53 +05:30
parent d1aa2a32c8
commit 8c6181d233
2 changed files with 5 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import (
"fmt"
"os"
"path/filepath"
"runtime"
"kitty/kittens/panel"
"kitty/tools/cli"
@@ -63,7 +64,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))
if runtime.GOOS != "darwin" {
argv = append(argv, fmt.Sprintf("--app-id=%s", conf.App_id))
}
argv = append(argv, fmt.Sprintf("--focus-policy=%s", conf.Focus_policy))
if conf.Start_as_hidden {
argv = append(argv, `--start-as-hidden`)

View File

@@ -62,7 +62,7 @@ opt('+kitty_override', '', long_text='Override individual kitty configuration op
)
opt('app_id', f'{appname}-quick-access',
long_text='The Wayland APP_ID assigned to the quick access window')
long_text='The Wayland APP_ID assigned to the quick access window (Linux only)')
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.')