diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h index 8aa7d91..210bbc9 100644 --- a/config.def.h +++ b/config.def.h @@ -50,12 +50,15 @@ static const Layout layouts[] = { /* monitors */ /* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */ static const MonitorRule monrules[] = { - /* name mfact nmaster scale layout rotate/reflect x y */ - /* example of a HiDPI laptop monitor: - { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + /* name mfact nmaster scale layout rotate/reflect x y resx resy rate mode adaptive*/ + /* example of a HiDPI laptop monitor at 120Hz: + { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 120.000f, 1, 1}, */ /* defaults */ - { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 0.0f, 0 ,1}, + // mode let's the user decide on how dwl should implement the modes: + // -1 Sets a custom mode following the users choice + // All other number's set the mode at the index n, 0 is the standard mode; see wlr-randr }; /* keyboard */ |
