Mercurial > dwm-meillo
comparison config.arg.h @ 191:56fee1dc9d53
switched to regexp matching for Rules
author | arg@10ksloc.org |
---|---|
date | Fri, 04 Aug 2006 14:40:32 +0200 |
parents | 713dcc7d2c42 |
children | 836fb04ec317 |
comparison
equal
deleted
inserted
replaced
190:713dcc7d2c42 | 191:56fee1dc9d53 |
---|---|
50 { .cmd = "exec urxvt -tr +sb -bg black -fg white -cr white " \ | 50 { .cmd = "exec urxvt -tr +sb -bg black -fg white -cr white " \ |
51 "-fn '-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*'" } }, \ | 51 "-fn '-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*'" } }, \ |
52 }; | 52 }; |
53 | 53 |
54 #define RULES \ | 54 #define RULES \ |
55 const unsigned int two[] = { 2 }; \ | |
56 static Rule rule[] = { \ | 55 static Rule rule[] = { \ |
57 /* class:instance tags isfloat */ \ | 56 /* class:instance regex tags regex isfloat */ \ |
58 { "Firefox.*", two, False }, \ | 57 { "Firefox.*", "net", False }, \ |
59 { "Gimp.*", NULL, True}, \ | 58 { "Gimp.*", NULL, True}, \ |
60 { "MPlayer.*", NULL, True}, \ | 59 { "MPlayer.*", NULL, True}, \ |
61 { "Acroread.*", NULL, True}, \ | 60 { "Acroread.*", NULL, True}, \ |
62 }; | 61 }; |