update colors, keys, float rules
This commit is contained in:
parent
e24b12a8bf
commit
40476cc254
1 changed files with 16 additions and 10 deletions
26
config.h
26
config.h
|
@ -13,10 +13,12 @@ static const char col_gray2[] = "#444444";
|
|||
static const char col_gray3[] = "#bbbbbb";
|
||||
static const char col_gray4[] = "#eeeeee";
|
||||
static const char col_cyan[] = "#005577";
|
||||
static const char col_black[] = "#000000";
|
||||
static const char col_white[] = "#ffffff";
|
||||
static const char *colors[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
||||
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
||||
[SchemeNorm] = { col_gray3, col_black, col_gray2 },
|
||||
[SchemeSel] = { col_gray4, col_gray2, col_gray3 },
|
||||
};
|
||||
|
||||
/* tagging */
|
||||
|
@ -29,13 +31,12 @@ static const Rule rules[] = {
|
|||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
{ NULL, "float", NULL, 0, 1, -1 },
|
||||
{ NULL, NULL, "Event Tester", 0, 1, -1 },
|
||||
{ "Minecraft 1.8.9", NULL, NULL, 1 << 4, 1, -1 },
|
||||
{ "Minecraft 1.8.9", NULL, NULL, 1 << 4, 1, -1 },
|
||||
{ "Minecraft 1.12.2", NULL, NULL, 1 << 4, 1, -1 },
|
||||
{ "Minecraft* 1.16.5", NULL, NULL, 0, 1, -1 },
|
||||
{ "Minecraft* 1.18.2", NULL, NULL, 1 << 4, 1, -1 },
|
||||
{ "Minecraft* 1.19", NULL, NULL, 1 << 4, 1, -1 },
|
||||
{ "PolyMC", NULL, NULL, 1 << 6, 0, -1 },
|
||||
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
@ -70,7 +71,7 @@ static void toggletagadj(const Arg *arg);
|
|||
|
||||
/* commands */
|
||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
||||
static const char *termcmd[] = { "st", NULL };
|
||||
|
||||
#define EXEC(...) { .v = (const char*[]){ __VA_ARGS__, NULL } }
|
||||
|
@ -87,6 +88,8 @@ static Key keys[] = {
|
|||
{ MODKEY|ControlMask|ShiftMask, XK_u, incnmaster, {.i = -1 } },
|
||||
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
||||
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
|
||||
{ MODKEY|ControlMask|ShiftMask, XK_h, setmfact, {.f = -0.025} },
|
||||
{ MODKEY|ControlMask|ShiftMask, XK_l, setmfact, {.f = +0.025} },
|
||||
{ MODKEY, XK_z, zoom, {0} },
|
||||
{ MODKEY, XK_Tab, view, {0} },
|
||||
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
|
||||
|
@ -139,16 +142,19 @@ static Key keys[] = {
|
|||
{ MODKEY, XK_semicolon, spawn, EXEC("duni") },
|
||||
{ MODKEY, XK_apostrophe, spawn, EXEC("dsnip") },
|
||||
{ MODKEY|ShiftMask, XK_p, spawn, EXEC("mpvc", "toggle") },
|
||||
{ MODKEY|ShiftMask, XK_h, spawn, EXEC("mpvc", "prev") },
|
||||
{ MODKEY|ShiftMask, XK_l, spawn, EXEC("mpvc", "next") },
|
||||
{ MODKEY, XK_Pause, spawn, EXEC("mpvc", "toggle") },
|
||||
{ MODKEY|ShiftMask, XK_h, spawn, EXEC("mpvc", "backward") },
|
||||
{ MODKEY|ShiftMask, XK_l, spawn, EXEC("mpvc", "forward") },
|
||||
{ MODKEY, XK_Pause, spawn, EXEC("mpvc", "stop") },
|
||||
{ 0, XF86XK_AudioPlay, spawn, EXEC("mpvc", "toggle") },
|
||||
{ 0, XF86XK_AudioStop, spawn, EXEC("mpvc", "stop") },
|
||||
{ 0, XF86XK_AudioNext, spawn, EXEC("mpvc", "next") },
|
||||
{ 0, XF86XK_AudioPrev, spawn, EXEC("mpvc", "prev") },
|
||||
{ MODKEY, XF86XK_Forward, spawn, EXEC("mpvc", "forward") },
|
||||
{ MODKEY, XF86XK_Back, spawn, EXEC("mpvc", "backward") },
|
||||
{ MODKEY|ShiftMask, XK_Pause, spawn, EXEC("W") },
|
||||
{ MODKEY, XK_9, spawn, EXEC("W", "c") },
|
||||
{ MODKEY, XK_F1, spawn, EXEC("M") },
|
||||
{ MODKEY, XK_F2, spawn, EXEC("mpvc", "-d") },
|
||||
{ ShiftMask, XK_Print, spawn, EXEC("screenshot") },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue