diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-17 20:33:22 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-17 20:33:22 +0200 |
| commit | 7659dfc2894518f124557ba1f2ae493c6c041782 (patch) | |
| tree | b45ec5105f6a72ff1a36599dbc0f0957c62809e6 /config.h | |
| parent | 4b6ef5f586004c085c6aed3b614161f6e5ab5d3f (diff) | |
add clipboard support
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -65,6 +65,9 @@ int allowaltscreen = 1; setting the clipboard text */ int allowwindowops = 0; +/* Set clipboard max size (default 4MiB) */ +#define CLIPBOARD_SIZE 4194304 + /* * draw latency range in ms - from new content/keypress/etc until drawing. * within this range, st draws when content stops arriving (idle). mostly it's @@ -183,6 +186,11 @@ static unsigned int mousebg = 0; */ static unsigned int defaultattr = 11; +/* Shortcuts */ +static Shortcut shortcut[] = { + { XKB_KEY_c, KEY_MOD_ALT, copy }, + { XKB_KEY_v, KEY_MOD_ALT, paste }, +}; /* * This is the huge key array which defines all compatibility to the Linux |