From c445a3349c6b4afa0b655369d307eef948d7bc73 Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 20 Feb 2023 04:16:34 -0600 Subject: add xrandrfontsize patch --- config.def.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 5f304ab..febc88d 100644 --- a/config.def.h +++ b/config.def.h @@ -1,5 +1,19 @@ /* 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 * @@ -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} }, -- cgit v1.2.3