Added keybind (meta+ctrl+return) for urxvt to launch in floating mode separate from standard bind.
This commit is contained in:
7
config.h
7
config.h
@@ -46,7 +46,8 @@ static const Rule rules[] = {
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
{ "firefox", NULL, NULL, 2, 0, -1 },
|
||||
{ "URxvt", "cal", NULL, 0, 1, -1 },
|
||||
{ "URxvt", "cal", NULL, 0, 1, -1 },
|
||||
{ "urxvt-f", NULL, NULL, 0, 1, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
@@ -76,6 +77,7 @@ static const Layout layouts[] = {
|
||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_norm_bg, "-nf", col_norm_fg, "-sb", col_sel_bg, "-sf", col_sel_fg, NULL };
|
||||
static const char *termcmd[] = { "urxvt256c", NULL };
|
||||
static const char *floattermcmd[] = { "urxvt256c", "-name", "urxvt-f", NULL };
|
||||
static const char *lockcmd[] = { "slock", NULL };
|
||||
static const char *prtscrcmd[] = { "flameshot", "gui", NULL};
|
||||
static const char *vol_up[] = { "volume_up.sh", NULL};
|
||||
@@ -85,9 +87,10 @@ static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
||||
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY|ControlMask, XK_Return, spawn, {.v = floattermcmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
|
||||
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
|
||||
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
||||
|
||||
Reference in New Issue
Block a user