summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h15
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} },