From 902dcefac314ab1560ab2f8301354114c55f2e78 Mon Sep 17 00:00:00 2001 From: gm Date: Sat, 18 Jul 2026 02:26:15 +0900 Subject: [PATCH] Add emoji icons to every menu item across the main/settings menus Purely cosmetic: prefixes each InputSelector choice label (main menu, settings, font/connection/other settings, SSH domain edit list, font picker's manual-entry fallback) with a representative emoji so the menus are easier to scan at a glance. Co-Authored-By: Claude Sonnet 5 --- wezterm.lua | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/wezterm.lua b/wezterm.lua index e368250..1b38b04 100644 --- a/wezterm.lua +++ b/wezterm.lua @@ -344,7 +344,7 @@ local function show_font_picker(window, pane, which) return end - local choices = { { label = "직접 입력...", id = "__manual__" } } + local choices = { { label = "⌨️ 직접 입력...", id = "__manual__" } } for _, name in ipairs(fonts) do table.insert(choices, { label = name, id = name }) end @@ -381,12 +381,12 @@ local function show_font_settings(window, pane) title = "폰트 설정", fuzzy = true, choices = { - { label = "폰트 크기", id = "font_size" }, - { label = "영어 폰트", id = "font_primary" }, - { label = "한글 폰트", id = "font_korean" }, - { label = "줄 높이", id = "line_height" }, - { label = "색상 테마", id = "color_scheme" }, - { label = "창 투명도", id = "opacity" }, + { label = "📏 폰트 크기", id = "font_size" }, + { label = "🔤 영어 폰트", id = "font_primary" }, + { label = "🇰🇷 한글 폰트", id = "font_korean" }, + { label = "📐 줄 높이", id = "line_height" }, + { label = "🎨 색상 테마", id = "color_scheme" }, + { label = "🪟 창 투명도", id = "opacity" }, }, action = wezterm.action_callback(function(inner_window, inner_pane, id) if id == "font_size" then @@ -596,7 +596,7 @@ local function show_edit_ssh_domain_list(window, pane) local choices = {} for _, domain in ipairs(config.ssh_domains or {}) do table.insert(choices, { - label = domain.name .. " (" .. domain.remote_address .. ")", + label = "🖥️ " .. domain.name .. " (" .. domain.remote_address .. ")", id = domain.name, }) end @@ -633,10 +633,10 @@ local function show_connection_settings(window, pane) title = "연결 설정", fuzzy = true, choices = { - { label = "SSH 도메인 추가", id = "add_ssh" }, - { label = "SSH 도메인 수정", id = "edit_ssh" }, - { label = "SSH 도메인 목록", id = "domains" }, - { label = "통합 런처", id = "launcher" }, + { label = "➕ SSH 도메인 추가", id = "add_ssh" }, + { label = "✏️ SSH 도메인 수정", id = "edit_ssh" }, + { label = "📋 SSH 도메인 목록", id = "domains" }, + { label = "🚀 통합 런처", id = "launcher" }, }, action = wezterm.action_callback(function(inner_window, inner_pane, id) if id == "add_ssh" then @@ -660,12 +660,12 @@ local function show_other_settings(window, pane) title = "기타 설정", fuzzy = true, choices = { - { label = "스크롤백 줄 수", id = "scrollback" }, - { label = "최대 FPS", id = "max_fps" }, - { label = "탭바 위치: 상단", id = "tab_top" }, - { label = "탭바 위치: 하단", id = "tab_bottom" }, - { label = "창 닫기 확인 켜기", id = "close_prompt" }, - { label = "창 닫기 확인 끄기", id = "close_no_prompt" }, + { label = "📜 스크롤백 줄 수", id = "scrollback" }, + { label = "⚡ 최대 FPS", id = "max_fps" }, + { label = "⬆️ 탭바 위치: 상단", id = "tab_top" }, + { label = "⬇️ 탭바 위치: 하단", id = "tab_bottom" }, + { label = "✅ 창 닫기 확인 켜기", id = "close_prompt" }, + { label = "🚫 창 닫기 확인 끄기", id = "close_no_prompt" }, }, action = wezterm.action_callback(function(inner_window, inner_pane, id) if id == "scrollback" then @@ -693,11 +693,11 @@ local function show_settings_menu(window, pane) title = "설정", fuzzy = true, choices = { - { label = "폰트 설정", id = "font" }, - { label = "연결 설정", id = "connection" }, - { label = "기타 설정", id = "other" }, - { label = "통합 런처", id = "launcher" }, - { label = "설정 다시 불러오기", id = "reload" }, + { label = "🔤 폰트 설정", id = "font" }, + { label = "🔌 연결 설정", id = "connection" }, + { label = "🛠️ 기타 설정", id = "other" }, + { label = "🚀 통합 런처", id = "launcher" }, + { label = "🔄 설정 다시 불러오기", id = "reload" }, }, action = wezterm.action_callback(function(inner_window, inner_pane, id) if not id then @@ -730,12 +730,12 @@ local function show_main_menu(window, pane) for _, domain in ipairs(config.ssh_domains or {}) do table.insert(choices, { - label = domain.name .. " (" .. domain.remote_address .. ")", + label = "🖥️ " .. domain.name .. " (" .. domain.remote_address .. ")", id = "domain:" .. domain.name, }) end - table.insert(choices, { label = "설정", id = "settings" }) + table.insert(choices, { label = "⚙️ 설정", id = "settings" }) window:perform_action( act.InputSelector({