diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/kak/kakrc | 12 | ||||
-rw-r--r-- | .config/sway/config | 1 |
2 files changed, 11 insertions, 2 deletions
diff --git a/.config/kak/kakrc b/.config/kak/kakrc index c5ab4a7..fb2baec 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -15,6 +15,14 @@ hook global WinSetOption filetype=python %{ map global user <c> ':comment-line<ret>' -docstring 'comment line' -map global user <x> '<a-|>wl-copy<ret>' -docstring 'wl-copy' - +# map global user <x> '<a-|>wl-copy<ret>' -docstring 'wl-copy' add-highlighter global/longline column 70 ,rgb:333333 + + +evaluate-commands %sh{ + copy='printf "\033]52;;%s\033\\" $(base64 | tr -d "\n") > $( [ -n "$kak_client_pid" ] && echo /proc/$kak_client_pid/fd/0 || echo /dev/tty )' + backend='OSC 52' + printf "map global user -docstring 'yank to primary' y '<a-|>%s<ret>:echo -markup %%{{Information}copied selection to %s primary}<ret>'\n" "$copy" "$backend" +} + + diff --git a/.config/sway/config b/.config/sway/config index 1adb4e9..472663f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -27,6 +27,7 @@ input type:touchpad { exec pipewire exec wireplumber +exec pipewire-pulse bindsym $mod+Return exec exec $term bindsym $mod+Shift+q kill |