1
0
Fork 0

modify config.def.h

This commit is contained in:
MGislv 2021-10-18 23:38:18 +02:00
parent a786211d6c
commit ef9094ef08
1 changed files with 17 additions and 12 deletions

View File

@ -5,13 +5,13 @@ static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=10" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
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 *fonts[] = { "JetBrains Mono:size=11" };
static const char dmenufont[] = "JetBrains Mono:size=11";
static const char col_gray1[] = "#2e3440";
static const char col_gray2[] = "#5e81ac";
static const char col_gray3[] = "#d8dee9";
static const char col_gray4[] = "#a3be8c";
static const char col_cyan[] = "#4c566a";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
@ -19,7 +19,7 @@ static const char *colors[][3] = {
};
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7" };
static const Rule rules[] = {
/* xprop(1):
@ -27,8 +27,7 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
{ "Firefox", NULL, NULL, 1 << 7, 0, -1 },
};
/* layout(s) */
@ -59,6 +58,10 @@ 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_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *clipmenu[] = { "clipmenu", "-i", "-fn", "JetBrains Mono:size=11", "-nb", "#2e3440", "-nf", "#d8dee9", "-sb", "#4c566a", "-sf", "#a3be8c", NULL };
static const char *upvol[] = { "amixer", "set", "Master", "1.5db+", "unmute", NULL };
static const char *downvol[] = { "amixer", "set", "Master", "1.5db-", NULL };
static const char *tmutevol[] = { "amixer", "set", "Master", "toggle", NULL };
static Key keys[] = {
/* modifier key function argument */
@ -85,6 +88,10 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{ MODKEY, XK_c, spawn, {.v = clipmenu} },
{ Mod4Mask, XK_plus, spawn, {.v = upvol} },
{ Mod4Mask, XK_minus, spawn, {.v = downvol} },
{ Mod4Mask, XK_m, spawn, {.v = tmutevol} },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
@ -92,8 +99,6 @@ static Key keys[] = {
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};