mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
Dont pass --app-id on macOS
This commit is contained in:
@@ -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`)
|
||||
|
||||
@@ -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.')
|
||||
|
||||
Reference in New Issue
Block a user