diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-06-03 22:23:46 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-06-03 22:23:46 -0700 |
commit | 60e3cfcb5304171cb5f4f8732730d30084c730e2 (patch) | |
tree | c3e877e8e7b5abcbea9cc84785a87a52d008d7a6 /sys/cmd/dway/config.h | |
parent | c5d4b505e27520a8373894a3382d529a00b6791f (diff) |
fixed many segfaults
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 = { |