From d69354eedb0b25767293b7aac9ab32def01005f3 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Mon, 4 Oct 2021 07:18:56 -0700 Subject: checkin(wm) --- sys/cmd/wm/config.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'sys/cmd/wm/config.h') 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. -- cgit v1.2.1