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
2020-01-29 15:17:18 -06:00

8 lines
249 B
Bash
Executable file

#!/usr/bin/env sh
xclip -selection primary
xclip -selection primary -out | xclip -selection clipboard
xclip -selection primary -out | xclip -selection secondary
echo "Your input was stored in all clipboards."
sleep 5 && killall xclip &>/dev/null &