1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-27 00:53:17 +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