Show launcher menu on startup
This commit is contained in:
11
wezterm.lua
11
wezterm.lua
@@ -137,7 +137,16 @@ config.unix_domains = {
|
|||||||
{ name = "unix" },
|
{ name = "unix" },
|
||||||
}
|
}
|
||||||
|
|
||||||
-- 시작 시 자동으로 워크스페이스/레이아웃을 구성하려면 아래 예시를 활성화하세요.
|
-- 시작 시 첫 화면으로 통합 런처를 띄워 탭/도메인/워크스페이스/저장 세션을 바로 선택합니다.
|
||||||
|
wezterm.on("gui-startup", function(cmd)
|
||||||
|
local tab, pane, window = wezterm.mux.spawn_window(cmd or {})
|
||||||
|
window:gui_window():perform_action(
|
||||||
|
act.ShowLauncherArgs({ flags = "FUZZY|TABS|DOMAINS|WORKSPACES|LAUNCH_MENU_ITEMS" }),
|
||||||
|
pane
|
||||||
|
)
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- 시작 시 자동으로 워크스페이스/레이아웃을 구성하려면 아래 예시를 참고하세요.
|
||||||
-- wezterm.on("gui-startup", function(cmd)
|
-- wezterm.on("gui-startup", function(cmd)
|
||||||
-- local tab, pane, window = wezterm.mux.spawn_window(cmd or {})
|
-- local tab, pane, window = wezterm.mux.spawn_window(cmd or {})
|
||||||
-- pane:split({ direction = "Right", size = 0.3 })
|
-- pane:split({ direction = "Right", size = 0.3 })
|
||||||
|
|||||||
Reference in New Issue
Block a user