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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/cmd/wm/config.h b/sys/cmd/wm/config.h
index dbeeaf6..3c8c4d9 100644
--- a/sys/cmd/wm/config.h
+++ b/sys/cmd/wm/config.h
@@ -12,6 +12,22 @@ CONFIG(int, repeat_delay, 600);
/* commands */
CONFIG(char*, termcommand[], { "alacritty", nil });
+/* layouts */
+CONFIG(Layout, layouts[], {
+ /* symbol arrange */
+ { "[]=", tile },
+ { "><>", nil }, /* no layout function means floating behavior */
+});
+
+/* monitors
+ * The order in which monitors are defined determines their position.
+ * non-configured monitors are always added to the left. */
+CONFIG(MonitorRule, monitorrule[], {
+ /* name layout, x, y, scale, transform master */
+ { nil, &cfg·layouts[0], 0, 0, 1, WL_OUTPUT_TRANSFORM_NORMAL, {0.55, 1} },
+});
+CONFIG(MonitorRule*, endmonitorrule, arrend(cfg·monitorrule));
+
/* keybindings */
#define MOD(a) WLR_MODIFIER_##a
#define MODKEY WLR_MODIFIER_ALT