diff --git a/config.def.h b/config.def.h index 12b4c85..0cf55b1 100644 --- a/config.def.h +++ b/config.def.h @@ -102,11 +102,11 @@ static char *colors[][ColCount] = { }; static const char *const autostart[] = { - "st", NULL, + // "st", NULL, NULL /* terminate */ }; -static const char *scratchpadcmd[] = {"s", "st", "-n", "spterm", NULL}; +static const char *scratchpadcmd[] = {"s", "kitty", "--name", "spterm", NULL}; /* Tags * In a traditional dwm the number of tags in use can be changed simply by changing the number @@ -137,7 +137,7 @@ static const char *scratchpadcmd[] = {"s", "st", "-n", "spterm", NULL}; */ static char *tagicons[][NUMTAGS] = { - [DEFAULT_TAGS] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }, + [DEFAULT_TAGS] = { "", "", "", "", "", "", "", " ", "" }, [ALTERNATIVE_TAGS] = { "A", "B", "C", "D", "E", "F", "G", "H", "I" }, [ALT_TAGS_DECORATION] = { "<1>", "<2>", "<3>", "<4>", "<5>", "<6>", "<7>", "<8>", "<9>" }, }; @@ -172,7 +172,7 @@ static const Rule rules[] = { RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.class = "Gimp", .tags = 1 << 4) - RULE(.class = "Firefox", .tags = 1 << 7) + RULE(.class = "vivaldi-stable", .tags = 1 << 4) RULE(.instance = "spterm", .scratchkey = 's', .isfloating = 1) }; @@ -228,22 +228,30 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ +// static const char *dmenucmd[] = { + // "dmenu_run", + // "-m", dmenumon, + // "-fn", dmenufont, + // "-nb", normbgcolor, + // "-nf", normfgcolor, + // "-sb", selbgcolor, + // "-sf", selfgcolor, + // NULL +// }; static const char *dmenucmd[] = { - "dmenu_run", - "-m", dmenumon, - "-fn", dmenufont, - "-nb", normbgcolor, - "-nf", normfgcolor, - "-sb", selbgcolor, - "-sf", selfgcolor, - NULL +"rofi", +"-show", +"drun", +"--with-images", +NULL }; + static const char *termcmd[] = { "kitty", NULL }; static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -256,11 +264,11 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_o, setcfact, {0} }, { MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } }, { MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } }, - { MODKEY, XK_Return, zoom, {0} }, + { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { Mod1Mask, XK_Tab, alttabstart, {0} }, - { MODKEY|ShiftMask, XK_e, killclient, {0} }, - { MODKEY|ShiftMask, XK_q, quit, {0} }, - { MODKEY|ControlMask, XK_q, quit, {1} }, + { MODKEY|ShiftMask, XK_q, killclient, {0} }, + { MODKEY|ShiftMask, XK_e, quit, {0} }, + { MODKEY|ControlMask, XK_e, quit, {1} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },