Browse Source

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 17 years ago
parent
commit
a3d8c05a95
2 changed files with 345 additions and 366 deletions
  1. +7
    -7
      config.def.h
  2. +338
    -359
      dwm.c

+ 7
- 7
config.def.h 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 */
{ "Firefox", "www", False, -1 },
{ "Gimp", NULL, True, -1 },
{ "MPlayer", NULL, True, -1 },
{ "Acroread", NULL, True, -1 },
/* class:instance:title regex tags regex isfloating */
{ "Firefox", "www", False },
{ "Gimp", NULL, True },
{ "MPlayer", NULL, True },
{ "Acroread", NULL, True },
}; };
/* layout(s) */ /* layout(s) */


+ 338
- 359
dwm.c
File diff suppressed because it is too large
View File


Loading…
Cancel
Save