mirror of
https://github.com/ericonr/dotfiles.git
synced 2024-04-21 09:12:33 -05:00
All of them now use wl-copy conditionally. - purr: uses bsd.ac - meow: uses bsd.ac with key
7 lines
130 B
Bash
Executable File
7 lines
130 B
Bash
Executable File
#!/bin/sh
|
|
|
|
website="$(curl -F"file=@${1:--}" https://0x0.st)"
|
|
echo $website
|
|
|
|
[ "$WAYLAND_DISPLAY" ] && echo -n $website | wl-copy
|