pushing my changes of tonight upstream (hg tip is NOW very UNSTABLE -- but those changes are necessary to get a decent multihead support) -- I renamed Monitor into View, to reflect in a better way the dwm terminology of the past

master
anselm@anselm1 2008-02-23 23:11:27 +00:00
parent fd01413fae
commit a3d8c05a95
2 changed files with 345 additions and 366 deletions

View File

@ -3,7 +3,7 @@
/* appearance */ /* appearance */
#define BARPOS BarTop /* BarBot, BarOff */ #define BARPOS BarTop /* BarBot, BarOff */
#define BORDERPX 1 #define BORDERPX 1
#define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" #define FONT "-*-terminus-medium-r-normal-*-12-*-*-*-*-*-*-*"
#define NORMBORDERCOLOR "#cccccc" #define NORMBORDERCOLOR "#cccccc"
#define NORMBGCOLOR "#cccccc" #define NORMBGCOLOR "#cccccc"
#define NORMFGCOLOR "#000000" #define NORMFGCOLOR "#000000"
@ -13,13 +13,13 @@
/* tagging */ /* tagging */
const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" };
Bool initags[LENGTH(tags)] = {[0] = True}; int initags[LENGTH(tags)] = { [0] = 1 };
Rule rules[] = { Rule rules[] = {
/* class:instance:title regex tags regex isfloating */ /* monitor */ /* class:instance:title regex tags regex isfloating */
{ "Firefox", "www", False, -1 }, { "Firefox", "www", False },
{ "Gimp", NULL, True, -1 }, { "Gimp", NULL, True },
{ "MPlayer", NULL, True, -1 }, { "MPlayer", NULL, True },
{ "Acroread", NULL, True, -1 }, { "Acroread", NULL, True },
}; };
/* layout(s) */ /* layout(s) */

697
dwm.c

File diff suppressed because it is too large Load Diff