This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/bin/clip

8 lines
249 B
Plaintext
Raw Normal View History

2020-01-29 15:17:18 -06:00
#!/usr/bin/env sh
2019-12-05 16:09:52 -06:00
xclip -selection primary
xclip -selection primary -out | xclip -selection clipboard
xclip -selection primary -out | xclip -selection secondary
2020-01-29 15:17:18 -06:00
echo "Your input was stored in all clipboards."
sleep 5 && killall xclip &>/dev/null &