diff options
author | zachir <zachir@librem.one> | 2023-02-20 04:16:34 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-20 04:16:34 -0600 |
commit | c445a3349c6b4afa0b655369d307eef948d7bc73 (patch) | |
tree | 62099e0565aa72fa7de9eeba06566984fb458de9 /config.def.h | |
parent | 2dbfaa34e165ba7a49100c8117b4c563895a21ef (diff) |
add xrandrfontsize patch
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 5f304ab..febc88d 100644 --- a/config.def.h +++ b/config.def.h @@ -1,6 +1,20 @@ /* See LICENSE file for copyright and license details. */ /* + * Override/adjust fontsize of choosen monitors: + */ +MonitorConfig monitors_config[] = { + // skip = fixed relative points size (monitor dpi) + // =0 : fixed absolute pixel size (default screen dpi) + // >0 : auto absolute pixel size (monitor dpi) + // <0 : auto relative points size (monitor dpi) + // {"DP-1", 0}, // BUG:(size=0): not restored to default after back'n'forth + {"HDMI-0~1", -20}, // BUG:(ignored DPI=220): = 20 is eqv to 10pt (DPI=110) + {"HDMI-0~2", -14}, +}; +float winmovethreshold = 0.6; + +/* * appearance * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html @@ -235,6 +249,7 @@ static Shortcut shortcuts[] = { { ControlMask, XK_equal, zoom, {.f = +1} }, { ControlMask, XK_minus, zoom, {.f = -1} }, { TERMMOD, XK_plus, zoomreset, {.f = 0} }, + { TERMMOD, XK_underscore, refreshxrandr, {.i = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} }, |