diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/config.h b/config.h index 344b91d..5c145a6 100644 --- a/config.h +++ b/config.h @@ -53,6 +53,7 @@ static const Rule rules[] = { { "Gimp", NULL, NULL, 1 << 8, 0, 0, 0, -1 }, { TERMCLASS, NULL, NULL, 0, 0, 1, 0, -1 }, { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, + { TERMCLASS, "floatterm", NULL, 0, 1, 1, 0, -1 }, { TERMCLASS, "bg", NULL, 1 << 7, 0, 1, 0, -1 }, { TERMCLASS, "spterm", NULL, SPTAG(0), 1, 1, 0, -1 }, { TERMCLASS, "spcalc", NULL, SPTAG(1), 1, 1, 0, -1 }, @@ -62,6 +63,7 @@ static const Rule rules[] = { static float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static int nmaster = 1; /* number of clients in master area */ static int resizehints = 0; /* 1 means respect size hints in tiled resizals */ +static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ #define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */ #include "vanitygaps.c" static const Layout layouts[] = { @@ -132,7 +134,7 @@ ResourcePref resources[] = { #include <X11/XF86keysym.h> #include "shiftview.c" -static Key keys[] = { +static const Key keys[] = { /* modifier key function argument */ STACKKEYS(MODKEY, focus) STACKKEYS(MODKEY|ShiftMask, push) @@ -243,9 +245,9 @@ static Key keys[] = { { MODKEY, XK_F5, xrdb, {.v = NULL } }, { MODKEY, XK_F6, spawn, {.v = (const char*[]){ "torwrap", NULL } } }, { MODKEY, XK_F7, spawn, {.v = (const char*[]){ "td-toggle", NULL } } }, - { MODKEY, XK_F8, spawn, {.v = (const char*[]){ "mw", "-Y", NULL } } }, - { MODKEY, XK_F9, spawn, {.v = (const char*[]){ "dmenumount", NULL } } }, - { MODKEY, XK_F10, spawn, {.v = (const char*[]){ "dmenuumount", NULL } } }, + { MODKEY, XK_F8, spawn, {.v = (const char*[]){ "mailsync", NULL } } }, + { MODKEY, XK_F9, spawn, {.v = (const char*[]){ "mounter", NULL } } }, + { MODKEY, XK_F10, spawn, {.v = (const char*[]){ "unmounter", NULL } } }, { MODKEY, XK_F11, spawn, SHCMD("mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)") }, { MODKEY, XK_F12, spawn, SHCMD("remaps") }, { MODKEY, XK_space, zoom, {0} }, @@ -307,7 +309,7 @@ static Key keys[] = { /* button definitions */ /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ -static Button buttons[] = { +static const Button buttons[] = { /* click event mask button function argument */ #ifndef __OpenBSD__ { ClkWinTitle, 0, Button2, zoom, {0} }, |