mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-09 00:14:53 +00:00
8 lines
107 B
Plaintext
8 lines
107 B
Plaintext
|
#!/bin/bash
|
||
|
if [ $# -eq 0 ]
|
||
|
then
|
||
|
cat - | xclip -i -sel clip
|
||
|
else
|
||
|
echo $@ | xclip -i -sel clip
|
||
|
fi
|