clipboard script keyboard shortcut question? Show more
Here's me fiddling with the clipboard again..
xsel | sed -e 's/youtube.com/invidio.us/g' | xsel -b
pipe contents of YT URL through sed to change to invidio.us and then back into xsel clipboard..
how do I get this to run (in a terminal?) via a keyboard shortcut (Ctrl+\)?
bash script? attached to a shortcut?
I might be approaching this all wrong..
@spelk Xfce menu --> Settings --> Keyboard --> Application shortcuts
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!