|
|
@ -14,24 +14,15 @@
|
|
|
|
const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
|
|
|
const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
|
|
|
|
|
|
|
|
|
|
|
Rule rules[] = {
|
|
|
|
Rule rules[] = {
|
|
|
|
/* class:instance:title substr tags ref isfloating */
|
|
|
|
/* class instance title tags ref isfloating */
|
|
|
|
{ "Firefox", tags[8], False },
|
|
|
|
{ NULL, NULL, "Firefox", tags[8], False },
|
|
|
|
{ "Gimp", NULL, True },
|
|
|
|
{ NULL, NULL, "Gimp", NULL, True },
|
|
|
|
{ "MPlayer", NULL, True },
|
|
|
|
{ NULL, NULL, "MPlayer", NULL, True },
|
|
|
|
{ "Acroread", NULL, True },
|
|
|
|
{ NULL, NULL, "Acroread", NULL, True },
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* layout(s) */
|
|
|
|
/* geometry function */
|
|
|
|
#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
|
|
|
|
void (*setgeoms)(void) = setdefgeoms;
|
|
|
|
#define SNAP 32 /* snap pixel */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Layout layouts[] = {
|
|
|
|
|
|
|
|
/* symbol function isfloating */
|
|
|
|
|
|
|
|
{ "[]|", tileh, False }, /* first entry is default */
|
|
|
|
|
|
|
|
{ "[]=", tilev, False },
|
|
|
|
|
|
|
|
{ "><>", floating, True },
|
|
|
|
|
|
|
|
{ "[M]", monocle, True },
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
setanselmgeoms(void) {
|
|
|
|
setanselmgeoms(void) {
|
|
|
@ -83,12 +74,24 @@ anselmgeoms(const char *arg) {
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
defgeoms(const char *arg) {
|
|
|
|
defgeoms(const char *arg) {
|
|
|
|
setgeoms = setdefaultgeoms;
|
|
|
|
setgeoms = setdefgeoms;
|
|
|
|
setgeoms();
|
|
|
|
setgeoms();
|
|
|
|
updatebarpos();
|
|
|
|
updatebarpos();
|
|
|
|
setlayout("[]=");
|
|
|
|
setlayout("[]=");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* layout(s) */
|
|
|
|
|
|
|
|
#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
|
|
|
|
|
|
|
|
#define SNAP 32 /* snap pixel */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Layout layouts[] = {
|
|
|
|
|
|
|
|
/* symbol function isfloating */
|
|
|
|
|
|
|
|
{ "[]|", tileh, False }, /* first entry is default */
|
|
|
|
|
|
|
|
{ "[]=", tilev, False },
|
|
|
|
|
|
|
|
{ "><>", floating, True },
|
|
|
|
|
|
|
|
{ "[M]", monocle, True },
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* key definitions */
|
|
|
|
/* key definitions */
|
|
|
|
#define MODKEY Mod1Mask
|
|
|
|
#define MODKEY Mod1Mask
|
|
|
|
Key keys[] = {
|
|
|
|
Key keys[] = {
|
|
|
|