diff options
| -rw-r--r-- | kakrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -11,6 +11,10 @@ hook global RegisterModified '"' %{ nop %sh{ printf "%s" "$kak_main_reg_dquote" | (eval wl-copy --foreground) > /dev/null 2>&1 & } + nop %sh{ + encoded=$(printf %s "$kak_main_reg_dquote" | base64 | tr -d '\n') + printf "\033]52;;%s\a" "$encoded" >"/proc/$kak_client_pid/fd/0" + } } map -docstring 'paste wayland clipboard after cursor' global user \ |
