1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-17 12:22:57 +00:00
dotfiles/.local/bin/clip

3 lines
85 B
Plaintext
Raw Normal View History

2020-10-13 20:14:57 +00:00
#!/bin/sh
[ $# -eq 0 ] && cat - | xclip -i -sel clip || echo $@ | xclip -i -sel clip