JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added viewall to mainstream (only Ross Mohns version, not the toggle)
[dwm.git] / config.default.h
index ed09158..35729ac 100644 (file)
@@ -7,6 +7,8 @@
 const char *tags[] = { "1", "2", "3", "4", "5", NULL };
 
 #define DEFMODE                        dotile /* dofloat */
+#define FLOATSYMBOL            "~"
+#define TILESYMBOL             "#"
 
 #define FONT                   "fixed"
 #define SELBGCOLOR             "#666699"
@@ -15,8 +17,6 @@ const char *tags[] = { "1", "2", "3", "4", "5", NULL };
 #define NORMFGCOLOR            "#cccccc"
 #define STATUSBGCOLOR          "#dddddd"
 #define STATUSFGCOLOR          "#222222"
-#define FLOATSYMBOL            "~"
-#define TILEDSYMBOL            "#"
 
 #define MODKEY                 Mod1Mask
 #define MASTERW                        60 /* percent */
@@ -46,6 +46,7 @@ static Key key[] = { \
        { MODKEY,                       XK_3,           view,           { .i = 2 } }, \
        { MODKEY,                       XK_4,           view,           { .i = 3 } }, \
        { MODKEY,                       XK_5,           view,           { .i = 4 } }, \
+       { MODKEY,                       XK_a,           viewall,        { 0 } }, \
        { MODKEY|ControlMask,           XK_1,           toggleview,     { .i = 0 } }, \
        { MODKEY|ControlMask,           XK_2,           toggleview,     { .i = 1 } }, \
        { MODKEY|ControlMask,           XK_3,           toggleview,     { .i = 2 } }, \
@@ -55,7 +56,7 @@ static Key key[] = { \
 };
 
 /* Query class:instance:title for regex matching info with following command:
- * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/{ printf("%s\n",$2) }' */
+ * xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
 #define RULES \
 static Rule rule[] = { \
        /* class:instance:title regex   tags regex      isfloat */ \