X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.default.h;h=fd9ada60d8e1c8eecf52886688cfc6e186ad1be2;hb=595028614bc94c1733b28725dcf9777b0a47ad24;hp=7e9b7ef1354aa9ed179c2710c295a96896fcb1c0;hpb=4cc0551948074c82c5b66231f407fd9c142b12cc;p=dwm.git diff --git a/config.default.h b/config.default.h index 7e9b7ef..fd9ada6 100644 --- a/config.default.h +++ b/config.default.h @@ -4,10 +4,9 @@ */ #define TAGS \ -const char *tags[] = { "0", "1", "2", "3", "4", NULL }; +const char *tags[] = { "1", "2", "3", "4", "0", NULL }; #define DEFMODE dotile /* dofloat */ -#define DEFTAG 1 /* index */ #define FONT "fixed" #define BGCOLOR "#666699" #define FGCOLOR "#eeeeee" @@ -49,7 +48,7 @@ static Key key[] = { \ }; /* Query class:instance for regex matching info with following command: - * xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ + * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/ #define RULES \ static Rule rule[] = { \ /* class:instance regex tags regex isfloat */ \