diff options
| author | salmonik <raisersoft@proton.me> | 2026-04-28 17:51:33 +0200 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-04-28 17:51:33 +0200 |
| commit | 1c9fbd0059d93b6dd57837020f3ef951a729acbb (patch) | |
| tree | 8450dcbb0a5e8937c3e65ea20461a9df24cb6c76 /config.def.h | |
| parent | add a .gitignore (diff) | |
| download | st-master.tar.gz st-master.zip | |
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 16 |
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"; | |||
| 9 | static int borderpx = 2; | 9 | static 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 | */ | ||
| 17 | static int scrollbarwidth = 3; | ||
| 18 | static unsigned int scrollbarcolor = 8; | ||
| 19 | static 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; | |||
| 203 | static MouseShortcut mshortcuts[] = { | 213 | static 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. */ |
