summaryrefslogtreecommitdiff
path: root/liberclip
blob: 27d839d1a2d0f44dccf32e6b3dabea247f702f3c (plain)
1
2
3
4
5
6
#!/sbin/sh

xclip -selection clipboard -o | \
  sed -e 's/www.youtube.com/yewtu.be/;s/youtu.be/yewtu.be/' \
  -e 's/www.reddit.com/libredd.it/' | \
  xclip -selection clipboard