dotfiles/utils/.local/bin/0x0

7 lines
130 B
Plaintext
Raw Normal View History

2020-06-04 00:02:57 -05:00
#!/bin/sh
website="$(curl -F"file=@${1:--}" https://0x0.st)"
echo $website
[ "$WAYLAND_DISPLAY" ] && echo -n $website | wl-copy