summaryrefslogtreecommitdiffstats
path: root/src/conf.c
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-04-21 19:26:34 -0300
committerandmarti1424 <andmarti@gmail.com>2017-04-21 19:26:34 -0300
commit80909a52d73a5dc2478555a64f03a4719ec6788b (patch)
tree9f654993529803783bfcafae07cd8923c517831e /src/conf.c
parent6d42e8c091377e609c18d0243a4345a1d5e4d544 (diff)
cpaste command to paste from clipboard to Sc-im
Diffstat (limited to 'src/conf.c')
-rwxr-xr-x[-rw-r--r--]src/conf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index a0ebbcd..d4c3c60 100644..100755
--- a/src/conf.c
+++ b/src/conf.c
@@ -28,6 +28,12 @@ void store_default_config_values() {
put(user_conf_d, "default_copy_to_clipboard_cmd", "");
#endif
+ #ifdef DEFAULT_PASTE_FROM_CLIPBOARD_CMD
+ put(user_conf_d, "default_paste_from_clipboard_cmd", DEFAULT_PASTE_FROM_CLIPBOARD_CMD);
+ #else
+ put(user_conf_d, "default_paste_from_clipboard_cmd", "");
+ #endif
+
// we calc get gmtoffset
#ifdef USELOCALE
time_t t = time(NULL);