diff options
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/config.def.h b/config.def.h index d69d0ff..7593441 100644 --- a/config.def.h +++ b/config.def.h @@ -72,6 +72,21 @@ static uint32_t tagsel[][3] = { { 0x7c6f64ff, 0x1d2021ff }, // empty }; +static const char *tagselstr[][3] = { + /* fg bg */ + // gruvbox dark + { "#cc241d", "#1d2021" }, // red + { "#d65d0e", "#1d2021" }, // orange + { "#d79921", "#1d2021" }, // yellow + { "#458588", "#1d2021" }, // blue + { "#8ec07c", "#1d2021" }, // cyan + { "#98971a", "#1d2021" }, // green + { "#b16286", "#1d2021" }, // magenta + { "#fe8019", "#1d2021" }, // re orange + { "#ebdbb2", "#1d2021" }, // white + { "#7c6f64", "#1d2021" }, // empty +}; + /* logging */ static int log_level = WLR_ERROR; @@ -84,6 +99,7 @@ static const Rule rules[] = { { "Alacritty", NULL, 0, 0, 1, 1, -1, 0 }, { "st", NULL, 0, 0, 1, 1, -1, 0 }, { "mpv", NULL, 0, 0, 0, 0, -1, 0 }, + { "stalonetray", NULL, 1 << 8, 1, 0, 0, -1, 0 }, { NULL, "spterm", 0, 1, 1, 0, -1, 's' }, { NULL, "spfm", 0, 1, 1, 0, -1, 'f' }, { NULL, "pcmanfm", 0, 1, 0, 0, -1, 'p' }, @@ -199,7 +215,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* commands */ static const char *termcmd[] = { "alacritty", NULL }; -static const char *menucmd[] = { "wmenu-run", NULL }; +static const char *menucmd[] = { "dmrun", NULL }; static const char *dmlog_cmd[] = { "dmlog", NULL }; static const char *dmpass_full_cmd[] = { "dmpass", "--full", NULL }; static const char *dmpass_cmd[] = { "dmpass", NULL }; @@ -209,8 +225,8 @@ static const char *browser_cmd[] = { "firefox", NULL }; static const Key keys[] = { /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ /* modifier key function argument */ - { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, - { MODKEY, XKB_KEY_Return, spawn, {.v = termcmd} }, + { MODKEY, XKB_KEY_p, wmenuspawn, {.v = menucmd } }, + { MODKEY, XKB_KEY_Return, spawn, {.v = termcmd } }, { MODKEY, XKB_KEY_F1, togglescratch, {.v = spterm } }, { MODKEY, XKB_KEY_F2, togglescratch, {.v = spfm } }, { MODKEY|SHIFT, XKB_KEY_F2, togglescratch, {.v = sppcman } }, @@ -218,11 +234,11 @@ static const Key keys[] = { { MODKEY, XKB_KEY_F4, togglescratch, {.v = spflip } }, { MODKEY, XKB_KEY_F5, togglescratch, {.v = spmpd } }, { MODKEY, XKB_KEY_F6, togglescratch, {.v = spnews } }, - { MODKEY|CTRL, XKB_KEY_F12, spawn, {.v = dmlog_cmd } }, - { MODKEY|CTRL, XKB_KEY_BackSpace, spawn, {.v = dmlog_cmd } }, - { MODKEY|CTRL, XKB_KEY_p, spawn, {.v = dmpass_cmd } }, - { MODKEY|CTRL|SHIFT, XKB_KEY_p, spawn, {.v = dmpass_full_cmd } }, - { MODKEY|CTRL, XKB_KEY_o, spawn, {.v = dmotp_cmd } }, + { MODKEY|CTRL, XKB_KEY_F12, wmenuspawn, {.v = dmlog_cmd } }, + { MODKEY|CTRL, XKB_KEY_BackSpace, wmenuspawn, {.v = dmlog_cmd } }, + { MODKEY|CTRL, XKB_KEY_p, wmenuspawn, {.v = dmpass_cmd } }, + { MODKEY|CTRL|SHIFT, XKB_KEY_P, wmenuspawn, {.v = dmpass_full_cmd } }, + { MODKEY|CTRL, XKB_KEY_o, wmenuspawn, {.v = dmotp_cmd } }, { MODKEY, XKB_KEY_b, togglebar, {0} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, |