📋 Auto-pasting selected items #306
shushtain
started this conversation in
Show and tell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have struggled to set up automatic pasting of selected clipboard items, emojis, and symbols, so I want to leave these recipes here.
While automatic pasting should be used with caution, because programs use variations of Ctrl+V, Ctrl+Shift+V, p (vim), etc., it's still useful to have it as an option if desired.
Clipboard / Emojis
These modules have
exec
option, so it's quite easy. I can't make it work withwl-copy && wl-paste
orwl-copy | wl-paste
, but with a separatewtype
utility, I can just simulate pasting with desired keys:Symbols
For some reason, this module doesn't have
exec
, but it hasafter_copy
that will be inserted afterwl-copy <selected item> | <after_copy contents>
. We don't chainwtype
with|
but&&
, so my workaround for this is:So essentially it executes
wl-copy ... | true
, which is the most silent way to finish the chain that I'm aware of, and then it simulates the keys.Don't forget to restart your session or walker itself (or maybe there is a way to reload config, idk). And don't forget that clipboard features only work when walker is started as a service at the start of the session through
walker --gapplication-service
.Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments