aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-04-17 20:33:22 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-04-17 20:33:22 +0200
commit7659dfc2894518f124557ba1f2ae493c6c041782 (patch)
treeb45ec5105f6a72ff1a36599dbc0f0957c62809e6 /config.h
parent4b6ef5f586004c085c6aed3b614161f6e5ab5d3f (diff)
add clipboard support
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index d4d88c7..19496ce 100644
--- a/config.h
+++ b/config.h
@@ -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