summaryrefslogtreecommitdiff
path: root/liberclip
blob: 5af8ae5767902f2f3b7dc2d14bda8c4a0de28584 (plain)
1
2
3
4
5
6
#!/bin/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