aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-05-05 14:16:52 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-05-05 14:16:52 +0530
commitc17629aaa71380618c356e8083c7b38a756948d8 (patch)
tree11c320379bc3c1166b3e7bd4128b0f91ab7e7822 /config.def.h
parent4c19435758c2c8fe94fc0dfa67cd0cad36044c84 (diff)
Revert "update"
This reverts commit fe324c75f81a989b6213134dd4a4c9c0e19a8e64.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 6b95218..210bbc9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -51,7 +51,14 @@ static const Layout layouts[] = {
/* 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 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, 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 */