diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-03-14 14:35:45 +0000 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-03-14 14:35:45 +0000 |
commit | e237b2a76fb3dac1f43b91e5c7b6adb9ef04c9ed (patch) | |
tree | da79e7fb7f8a05c3ec739aca9f62224d7adbbee7 /config.anselm.h | |
parent | dd9ee6d248397dcd3483131808e5c967bad3900f (diff) | |
download | dwm-e237b2a76fb3dac1f43b91e5c7b6adb9ef04c9ed.tar.gz |
some changes towards 4.9
Diffstat (limited to 'config.anselm.h')
-rw-r--r-- | config.anselm.h | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/config.anselm.h b/config.anselm.h index aef5947..09cccd1 100644 --- a/config.anselm.h +++ b/config.anselm.h @@ -14,24 +14,15 @@ const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; Rule rules[] = { - /* class:instance:title substr tags ref isfloating */ - { "Firefox", tags[8], False }, - { "Gimp", NULL, True }, - { "MPlayer", NULL, True }, - { "Acroread", NULL, True }, + /* class instance title tags ref isfloating */ + { NULL, NULL, "Firefox", tags[8], False }, + { NULL, NULL, "Gimp", NULL, True }, + { NULL, NULL, "MPlayer", NULL, True }, + { NULL, NULL, "Acroread", NULL, True }, }; -/* 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 }, -}; +/* geometry function */ +void (*setgeoms)(void) = setdefgeoms; void setanselmgeoms(void) { @@ -83,12 +74,24 @@ anselmgeoms(const char *arg) { void defgeoms(const char *arg) { - setgeoms = setdefaultgeoms; + setgeoms = setdefgeoms; setgeoms(); updatebarpos(); 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 */ #define MODKEY Mod1Mask Key keys[] = { |