Oh, just learned about `wl-copy --paste-once`. That's pretty useful for copy and pasting senstitive data! #Wayland

@bugaevc Yep, my first attempt involved calling clear after 15 seconds. Not sure how reliable `paste-once` is atm.


@raichoo it should be reliable, as long as:
* there's no clipboard manager that intentionally persists selection after wl-copy exits (use `wl-copy --paste-once --foreground && wl-copy --clear` if you want to ensure this doesn't happen even in presence of a clipboard manager)
* the target app only requests clipboard contents once (in particular, Chromium and XWayland are known to request it *more* than once)

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!