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

3 lines
85 B
Bash
Executable file

#!/bin/sh
[ $# -eq 0 ] && cat - | xclip -i -sel clip || echo $@ | xclip -i -sel clip