diff options
Diffstat (limited to 'sys/cmd/dway/config.h')
-rw-r--r-- | sys/cmd/dway/config.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/cmd/dway/config.h b/sys/cmd/dway/config.h index b3f7c83..5ac665a 100644 --- a/sys/cmd/dway/config.h +++ b/sys/cmd/dway/config.h @@ -1,13 +1,17 @@ /* global appearance */ static const int sloppyfocus = 1; /* focus follows mouse */ -static const uint borderpixel = 1; /* border pixel of windows */ +static const uint borderwidth = 1; /* width window borders (pixel) */ static const float rootcolor[] = {0.3, 0.3, 0.3, 1.0}; static const float bordercolor[] = {0.5, 0.5, 0.5, 1.0}; /* tagging */ static const byte *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +static const Rule apprules[] = { + /* app_id title tags mask isfloating monitor */ +}; + static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, @@ -15,6 +19,13 @@ static const Layout layouts[] = { }; /* monitors */ +static const MonitorRule monitorrules[] = { + /* name mfact nmaster scale layout rotate/reflect */ + /* example of a HiDPI laptop monitor: + { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL }, + */ + { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL }, +}; /* keyboard */ static const struct xkb_rule_names xkb_rules = { |