aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/wm/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/wm/config.h')
-rw-r--r--sys/cmd/wm/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/cmd/wm/config.h b/sys/cmd/wm/config.h
index 3c8c4d9..517c78d 100644
--- a/sys/cmd/wm/config.h
+++ b/sys/cmd/wm/config.h
@@ -9,6 +9,19 @@ CONFIG(float, focuscolor[], {1.0, 0.0, 0.0, 1.0});
CONFIG(int, repeat_rate, 25);
CONFIG(int, repeat_delay, 600);
+/* tags */
+CONFIG(char*, tags[], { "1", "2", "3", "4", "5", "6", "7", "8", "9" });
+
+/* application specific rules */
+CONFIG(Rule, rule[], {
+ /* app_id title tags mask isfloating monitor */
+ /* examples:
+ { "Gimp", nil, 0, 1, -1 },
+ { "firefox", nil, 1 << 8, 0, -1 },
+ */
+});
+CONFIG(Rule*, endrule, arrend(cfg·rule));
+
/* commands */
CONFIG(char*, termcommand[], { "alacritty", nil });
@@ -18,6 +31,7 @@ CONFIG(Layout, layouts[], {
{ "[]=", tile },
{ "><>", nil }, /* no layout function means floating behavior */
});
+CONFIG(Layout*, endlayout, arrend(cfg·layouts));
/* monitors
* The order in which monitors are defined determines their position.