From c17629aaa71380618c356e8083c7b38a756948d8 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sun, 5 May 2024 14:16:52 +0530 Subject: Revert "update" This reverts commit fe324c75f81a989b6213134dd4a4c9c0e19a8e64. --- config.def.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ -- cgit v1.2.3