Merge branch 'dwm-mma' of https://git.heshapps.com/asolkar/dwm into dwm-mma
This commit is contained in:
commit
5e39fcb3f2
16
config.h
16
config.h
@ -23,7 +23,8 @@ static const char *colors[][3] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* tagging */
|
/* tagging */
|
||||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "Media", "Remote", "Root" };
|
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", \
|
||||||
|
"1r", "2r", "3r", "4r", "5r", "6r", "7r", "8r", "9r" };
|
||||||
|
|
||||||
static const Rule rules[] = {
|
static const Rule rules[] = {
|
||||||
/* xprop(1):
|
/* xprop(1):
|
||||||
@ -49,11 +50,16 @@ static const Layout layouts[] = {
|
|||||||
|
|
||||||
/* key definitions */
|
/* key definitions */
|
||||||
#define MODKEY Mod1Mask
|
#define MODKEY Mod1Mask
|
||||||
|
#define EXTMODKEY Mod4Mask
|
||||||
#define TAGKEYS(KEY,TAG) \
|
#define TAGKEYS(KEY,TAG) \
|
||||||
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
|
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
|
||||||
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
|
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
|
||||||
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
|
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
|
||||||
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
|
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} }, \
|
||||||
|
{ EXTMODKEY, KEY, view, {.ui = 1 << (TAG+9)} }, \
|
||||||
|
{ EXTMODKEY|ControlMask, KEY, toggleview, {.ui = 1 << (TAG+9)} }, \
|
||||||
|
{ EXTMODKEY|ShiftMask, KEY, tag, {.ui = 1 << (TAG+9)} }, \
|
||||||
|
{ EXTMODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << (TAG+9)} },
|
||||||
|
|
||||||
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
|
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
|
||||||
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
||||||
|
Loading…
Reference in New Issue
Block a user