aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/wm/config.h
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2021-10-04 07:18:56 -0700
committerNicholas Noll <nbnoll@eml.cc>2021-10-04 07:18:56 -0700
commitd69354eedb0b25767293b7aac9ab32def01005f3 (patch)
tree3ca52c7cf1d22893a7878bb47c7587b889084f66 /sys/cmd/wm/config.h
parent7e7fab861a7e5baae9182419f7f320af36ce1ec4 (diff)
checkin(wm)
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.