diff options
Diffstat (limited to 'src/dwm/dwm-6.6/config.def.h')
| -rw-r--r-- | src/dwm/dwm-6.6/config.def.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/dwm/dwm-6.6/config.def.h b/src/dwm/dwm-6.6/config.def.h index 93b891a..0048756 100644 --- a/src/dwm/dwm-6.6/config.def.h +++ b/src/dwm/dwm-6.6/config.def.h @@ -5,6 +5,11 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 1; /* snap pixel */ +static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ +static const unsigned int systrayonleft = 0; /* 0: systray in the right corner, >0: systray on left of status text */ +static const unsigned int systrayspacing = 2; /* systray spacing */ +static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/ +static const int showsystray = 1; /* 0 means no systray */ 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" }; @@ -29,8 +34,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 }, + { "mpv", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ @@ -62,6 +66,7 @@ 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_purple, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "tmuterm", NULL }; static const char *browsercmd[] = { "tmubrowse", NULL }; +static const char *fixcmd[] = { "fixrandr", NULL }; static const char *bupcmd[] = { "brightnessup", NULL }; static const char *bdowncmd[] = { "brightnessdown", NULL }; static const char *bmaxcmd[] = { "brightnessmax", NULL }; @@ -75,6 +80,7 @@ static const Key keys[] = { { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_e, spawn, {.v = browsercmd } }, + { MODKEY|ShiftMask, XK_f, spawn, {.v = fixcmd } }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = bupcmd } }, { 0, XF86XK_MonBrightnessDown, spawn, {.v = bdowncmd } }, { 0, XF86XK_Display, spawn, {.v = bmaxcmd} }, @@ -115,9 +121,9 @@ static const Key keys[] = { TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) { MODKEY|ShiftMask, XK_q, quitprompt, {0} }, - { MODKEY, XK_minus, scratchpad_show, {0} }, - { MODKEY|ShiftMask, XK_minus, scratchpad_hide, {0} }, - { MODKEY, XK_equal,scratchpad_remove,{0} }, + { MODKEY, XK_minus, scratchpad_show, {0} }, + { MODKEY|ShiftMask, XK_minus, scratchpad_hide, {0} }, + { MODKEY, XK_equal,scratchpad_remove,{0} }, }; /* button definitions */ |
