Created
November 27, 2021 00:18
-
-
Save uncomfyhalomacro/ffc9bd253d82444e2a23e2b16dd19f91 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
shopt -s lastpipe | |
clipman pick -t STDOUT | fzf -e -i --prompt="clipboard: " | read -r hmm | |
[ -z "${hmm}" ] && exit | |
command="wl-copy \"${hmm}\"" | |
riverctl spawn "${command}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment