summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index d7e1fe5..3daa8fc 100644
--- a/config.def.h
+++ b/config.def.h
@@ -9,6 +9,16 @@ static char *font = "Liberation Mono:pixelsize=14:antialias=true:autohint=true";
9static int borderpx = 2; 9static int borderpx = 2;
10 10
11/* 11/*
12 * scrollbar options
13 * scrollbarwidth: width of the scrollbar in pixels (0 to disable)
14 * scrollbarcolor: color of the scrollbar thumb
15 * scrollbarbg: color of the scrollbar background (use -1 for none)
16 */
17static int scrollbarwidth = 3;
18static unsigned int scrollbarcolor = 8;
19static int scrollbarbg = 257;
20
21/*
12 * What program is execed by st depends of these precedence rules: 22 * What program is execed by st depends of these precedence rules:
13 * 1: program passed with -e 23 * 1: program passed with -e
14 * 2: scroll and/or utmp 24 * 2: scroll and/or utmp
@@ -203,10 +213,8 @@ static uint forcemousemod = ShiftMask;
203static MouseShortcut mshortcuts[] = { 213static MouseShortcut mshortcuts[] = {
204 /* mask button function argument release */ 214 /* mask button function argument release */
205 { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, 215 { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
206 { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, 216 { XK_ANY_MOD, Button4, kscrollup, {.i = 1} },
207 { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, 217 { XK_ANY_MOD, Button5, kscrolldown, {.i = 1} },
208 { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} },
209 { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} },
210}; 218};
211 219
212/* Internal keyboard shortcuts. */ 220/* Internal keyboard shortcuts. */