commit 3c0171b8c745f3d15445911845980e5d8e6675ef
parent 30537d2c888e7005b5a9762d14be54bee4a2ec26
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 28 Jan 2021 10:06:22 +0100
config.h: change placement definitions for broader compatibility
for example:
$ mpv --x11-name=botright
$ mplayer -name botright
$ st -n botright
Diffstat:
M | config.h | | | 30 | +++++++++++++++--------------- |
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/config.h b/config.h
@@ -33,21 +33,21 @@ static const Rule rules[] = {
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
- /* class instance title tags floatpos isfloating monitor */
- { "Tor Browser", NULL, NULL, 0, 5, 1, -1 },
- { "tabbed", NULL, NULL, 1<<1, 0, 0, -1 },
- { "Firefox", NULL, NULL, 1<<1, 0, 0, -1 },
- { "Evolution", NULL, NULL, 1<<7, 0, 0, -1 },
- { NULL, NULL, "video", ~0, 9, 1, -1 },
- { NULL, NULL, "topleft", 0, 1, 1, -1 },
- { NULL, NULL, "topcenter", 0, 2, 1, -1 },
- { NULL, NULL, "topright", 0, 3, 1, -1 },
- { NULL, NULL, "midleft", 0, 4, 1, -1 },
- { NULL, NULL, "midcenter", 0, 5, 1, -1 },
- { NULL, NULL, "midright", 0, 6, 1, -1 },
- { NULL, NULL, "botleft", 0, 7, 1, -1 },
- { NULL, NULL, "botcenter", 0, 8, 1, -1 },
- { NULL, NULL, "botright", 0, 9, 1, -1 },
+ /* class instance title tags floatpos isfloating monitor */
+ { "Tor Browser", NULL, NULL, 0, 5, 1, -1 },
+ { "tabbed", NULL, NULL, 1<<1, 0, 0, -1 },
+ { "Firefox", NULL, NULL, 1<<1, 0, 0, -1 },
+ { "Evolution", NULL, NULL, 1<<7, 0, 0, -1 },
+ { NULL, NULL, "video", ~0, 9, 1, -1 },
+ { NULL, "topleft", NULL, 0, 1, 1, -1 },
+ { NULL, "topcenter", NULL, 0, 2, 1, -1 },
+ { NULL, "topright", NULL, 0, 3, 1, -1 },
+ { NULL, "midleft", NULL, 0, 4, 1, -1 },
+ { NULL, "midcenter", NULL, 0, 5, 1, -1 },
+ { NULL, "midright", NULL, 0, 6, 1, -1 },
+ { NULL, "botleft", NULL, 0, 7, 1, -1 },
+ { NULL, "botcenter", NULL, 0, 8, 1, -1 },
+ { NULL, "botright", NULL, 0, 9, 1, -1 },
};
/* layout(s) */