clipboard script keyboard shortcut question? Show more

@spelk Xfce menu --> Settings --> Keyboard --> Application shortcuts

clipboard script Show more

Follow

@spelk piped command is a feature of bash or dash. You can create a script or invoke dash directly in "Application shortcuts":

sh -c 'xsel | sed -e "s/youtube.com/invidio.us/g" | xsel -b'

note the tricky quotation marks 😉

Sign in to participate in the conversation
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!