Support paste on enter functionality in clipboard
It would be great to have an option for “paste on Enter” in the clipboard popup.
For reference, the clipboard utility clipse-gui implements this feature — when a clipboard item is selected and the user presses Enter, it automatically pastes the selection into the focused window.
They achieve this using the following command under the hood:
wtype -M ctrl -P v -p v -m ctrl
This simulates a Ctrl+V keystroke, effectively pasting the copied content.
IMHO ctrl+v shortcut may be bound to other actions in different applications. It can be dangerous to send it to any process. I use ctrl+insert for this and send it in hyprland using hyprctl dispatch sendshortcut "SHIFT, Insert,". I think this keyboard shortcut has less chance of being associated with a destructive action, and it works for me in all applications.
Maybe a good compromise would be to make the "paste on Enter" behavior customizable? Let users choose the simulated paste shortcut (Ctrl+V, Shift+Insert, etc.) in settings — or even disable it entirely if they prefer manual pasting.
I just did it the easy way, Shift+Enter is paste, using the wtype command when present