dotfiles/.local/bin/scripts/plantclip

8 lines
184 B
Plaintext
Raw Normal View History

2022-01-15 21:01:18 +00:00
#!/bin/sh
# plantuml from xclip selection clipboard
file="/tmp/plantuml-xclip-$(date +%s).plantuml"
echo "@startuml" >$file
xclip -o >>$file
echo -e "\n@enduml" >>$file
plantuml $file