Merge branch 'dwm-mma' of https://git.heshapps.com/asolkar/dwm into dwm-mma

This commit is contained in:
Mahesh Asolkar 2021-03-14 22:35:06 -07:00
commit 5e39fcb3f2
2 changed files with 12 additions and 6 deletions

View File

@ -23,7 +23,8 @@ static const char *colors[][3] = {
};
/* 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[] = {
/* xprop(1):
@ -49,11 +50,16 @@ static const Layout layouts[] = {
/* key definitions */
#define MODKEY Mod1Mask
#define EXTMODKEY Mod4Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.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 */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }

View File

@ -5,7 +5,7 @@ VERSION = 6.1
# paths
# PREFIX = /usr/local
PREFIX = /home/mahesh/apps
PREFIX = /home/mahesh/apps/install
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include