修改退出和重启的快捷键

This commit is contained in:
2025-08-24 21:49:01 +08:00
parent a4f39d49f9
commit ebfed8245c

View File

@@ -88,8 +88,8 @@ const char launcher[] =
"rofi -show combi -modes window,drun,run,ssh,combi,windowcd";
const keybinding_t keys[] = {
{SUPER, XK_p, spawn, {.ptr = launcher}},
{SUPER, XK_q, quit, {.b = false}},
{SUPER, XK_r, quit, {.b = true}},
{SUPER | SHIFT, XK_q, quit, {.b = false}},
{SUPER | CTRL, XK_r, quit, {.b = true}},
{SUPER, XK_1, select_tag, {.ui = 0}},
{SUPER, XK_2, select_tag, {.ui = 1}},
{SUPER, XK_3, select_tag, {.ui = 2}},
@@ -98,7 +98,7 @@ const keybinding_t keys[] = {
{SUPER, XK_6, select_tag, {.ui = 5}},
{SUPER, XK_7, select_tag, {.ui = 6}},
{SUPER, XK_8, select_tag, {.ui = 7}},
{SUPER, XK_9, select_tag, { .ui = 8 }},
{SUPER, XK_9, select_tag, {.ui = 8}},
};
const char *const bar_bg = "#222222";