|
|
@@ -94,7 +94,7 @@ char *termname = "st-256color"; |
|
|
|
unsigned int tabspaces = 8; |
|
|
|
|
|
|
|
/* bg opacity */ |
|
|
|
float alpha = 0.8, alphaUnfocused = 0.3; |
|
|
|
float alpha = 0.5, alphaUnfocused = 0.3; |
|
|
|
|
|
|
|
/* Terminal colors (16 first used in escape sequence) */ |
|
|
|
static const char *colorname[] = { |
|
|
@@ -176,9 +176,9 @@ static uint forcemousemod = ShiftMask; |
|
|
|
static MouseShortcut mshortcuts[] = { |
|
|
|
/* mask button function argument release */ |
|
|
|
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, |
|
|
|
{ XK_NO_MOD, Button4, ttysend, {.s = "\033[5;2~"}, 0, -1 }, |
|
|
|
{ XK_NO_MOD, Button4, ttysend, {.s = "\033[1;3A"}, 0, -1 }, |
|
|
|
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, |
|
|
|
{ XK_NO_MOD, Button5, ttysend, {.s = "\033[6;2~"}, 0, -1 }, |
|
|
|
{ XK_NO_MOD, Button5, ttysend, {.s = "\033[1;3B"}, 0, -1 }, |
|
|
|
{ XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, |
|
|
|
}; |
|
|
|
|
|
|
@@ -453,6 +453,8 @@ static Key key[] = { |
|
|
|
{ XK_F33, XK_NO_MOD, "\033[20;5~", 0, 0}, |
|
|
|
{ XK_F34, XK_NO_MOD, "\033[21;5~", 0, 0}, |
|
|
|
{ XK_F35, XK_NO_MOD, "\033[23;5~", 0, 0}, |
|
|
|
/* {"\033[1;3A", XK_NO_MOD, 3}, /1* Mod1+Up *1/ */ |
|
|
|
/* {"\033[1;3B", XK_NO_MOD, 3}, /1* Mod1+Down *1/ */ |
|
|
|
}; |
|
|
|
|
|
|
|
/* |
|
|
|