swallow patch
This commit is contained in:
16
config.h
16
config.h
@ -3,6 +3,7 @@
|
||||
/* appearance */
|
||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||
static const unsigned int snap = 32; /* snap pixel */
|
||||
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
|
||||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 0; /* 0 means bottom bar */
|
||||
static const char *fonts[] = {"Liberation Mono:size=11", "Font Awesome 5 Free:size=11" };
|
||||
@ -26,12 +27,13 @@ static const Rule rules[] = {
|
||||
* WM_CLASS(STRING) = instance, class
|
||||
* WM_NAME(STRING) = title
|
||||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
//{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
//{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
{"KeePassXC", NULL, NULL, 1 << 8, 0, -1},
|
||||
{NULL, NULL, "Discord Updater", 1 << 7, 0, -1},
|
||||
{NULL, NULL, "Discord", 1 << 7, 0, -1},
|
||||
/* class instance title tags mask isfloating isterminal noswallow monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
|
||||
//{ "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
|
||||
{"KeePassXC",NULL, NULL, 1 << 8, 0, 0, 0, -1},
|
||||
{NULL, NULL, "Discord Updater",1 << 7, 0, 0, 0, -1},
|
||||
{NULL, NULL, "Discord", 1 << 7, 0, 0, 0, -1},
|
||||
{ "St", NULL, NULL, 0, 0, 1, 0, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
@ -67,6 +69,7 @@ static const char *firefoxcmd[] = {"firefox", NULL};
|
||||
static const char *sleepcmd[] = {"loginctl", "suspend", NULL};
|
||||
static const char *shutdowncmd[] = {"loginctl", "poweroff", NULL};
|
||||
static const char *lockcmd[] = {"loginctl", "lock-session", NULL};
|
||||
static const char *rebootcmd[] = {"loginctl", "reboot", NULL};
|
||||
|
||||
static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
@ -76,6 +79,7 @@ static Key keys[] = {
|
||||
{ MODKEY|ShiftMask, XK_s, spawn, {.v = sleepcmd}},
|
||||
{ MODKEY|ShiftMask, XK_h, spawn, {.v = shutdowncmd}},
|
||||
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd}},
|
||||
{ MODKEY|ShiftMask, XK_r, spawn, {.v = rebootcmd}},
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
|
||||
Reference in New Issue
Block a user