From 3b7bd55519161a132365f55aa6c5e2ba4d382033 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Wed, 4 Feb 2026 17:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BF=AB=E6=8D=B7=E9=94=AE?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/default_config.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/default_config.h b/src/default_config.h index 4da8af2..d854a49 100644 --- a/src/default_config.h +++ b/src/default_config.h @@ -39,10 +39,12 @@ static const char launcher[] = "rofi -show combi -modes combi -combi-modes window,drun,run,ssh,windowcd"; static const char terminal[] = "xterm"; static const char terminal_class[] = "XTerm"; -static const char editor[] = "emacsclient -a '' -r"; +static const char editor[] = "emacsclient -a '' -r -n"; static const char editor_class[] = "Emacs"; static const char browser[] = "firefox-bin"; static const char browser_class[] = "firefox"; +static const char chrome[] = "google-chrome-stable"; +static const char chrome_class[] = "Google-chrome"; static const keyboard_t key_list[] = { {modifier_super, XK_r, spawn, {.ptr = launcher}}, {modifier_super, XK_Return, spawn, {.ptr = terminal}}, @@ -64,6 +66,12 @@ static const keyboard_t key_list[] = { raise_or_run, {.ptr = (const char *[]){browser_class, browser}}, }, + { + modifier_super, + XK_a, + raise_or_run, + {.ptr = (const char *[]){chrome_class, chrome}}, + }, {modifier_super | modifier_shift, XK_q, quit, {.b = false}}, {modifier_super | modifier_control, XK_r, quit, {.b = true}}, {modifier_super | modifier_shift,