One-click paste from selection
elefthei opened this issue · 2 comments
elefthei commented
Thanks for this great tool!
I am trying to change the keybinding for paste so that I can paste in one step instead of two.
Now
- Keybinding (SUPER+V) opens rofi/wofi for selection, confirm selection -> wl-clipboard
- Normal paste (Ctrl + V) from wl-clipboard -> current window
Intended
- Keybinding (SUPER+V) opens rofi/wofi for selection, confirm selection -> current window
I tried the following keybinding for SUPER+V but it's not working, I suspect because by opening rofi/wofi we lost the focused window to paste on (or it pastes to wofi before it closes).
bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy | wl-paste
sentriz commented
wl-copy or wl-paste will never do the paste action. They just manage the current clipboard. Maybe try something like wtype?