summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/config.h b/config.h
index f6f8454..56a8c24 100644
--- a/config.h
+++ b/config.h
@@ -5,8 +5,14 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=14:antialias=true:autohint=true";
-static char *font2[] = { "Noto Color Emoji:pixelsize=10:antialias=true:autohint=true" };
+static char *font = "Liberation Mono:pixelsize=16:antialias=true:autohint=true";
+/* Spare fonts */
+static char *font2[] = {
+/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
+/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
+ "Noto Color Emoji:pixelsize=12:antialias=true:autohint=true"
+};
+
static int borderpx = 2;
/*
@@ -54,7 +60,7 @@ int allowwindowops = 0;
* near minlatency, but it waits longer for slow updates to avoid partial draw.
* low minlatency will tear/flicker more, as it can "detect" idle too early.
*/
-static double minlatency = 8;
+static double minlatency = 2;
static double maxlatency = 33;
/*
@@ -189,11 +195,11 @@ static uint forcemousemod = ShiftMask;
*/
static MouseShortcut mshortcuts[] = {
/* mask button function argument release */
- { XK_NO_MOD, Button4, kscrollup, {.i = 2} },
- { XK_NO_MOD, Button5, kscrolldown, {.i = 2} },
+ { XK_NO_MOD, Button4, kscrollup, {.i = 2} },
+ { XK_NO_MOD, Button5, kscrolldown, {.i = 2} },
{ ControlMask, Button4, zoom, {.f = +1} },
{ ControlMask, Button5, zoom, {.f = -1} },
- { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
+ { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },
{ ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },
@@ -209,6 +215,7 @@ static char *copyoutput[] = { "/bin/sh", "-c", "st-copyout", "externalpipe", NUL
static Shortcut shortcuts[] = {
/* mask keysym function argument */
+ { ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
{ TERMMOD, XK_C, clipcopy, {.i = 0} },
@@ -224,8 +231,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Left, zoom, {.f = -1} },
{ TERMMOD, XK_L, zoom, {.f = +1} },
{ TERMMOD, XK_H, zoom, {.f = -1} },
- { MODKEY, XK_o, externalpipe, {.v = copyoutput } },
- { MODKEY, XK_p, externalpipe, {.v = copyurlcmd } },
+ { MODKEY, XK_o, externalpipe, {.v = copyoutput} },
+ { MODKEY, XK_p, externalpipe, {.v = copyurlcmd} },
};
/*