1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-19 13:22:51 +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