dotfiles/.config/waybar/scripts/upload-image.sh

6 lines
119 B
Bash
Raw Normal View History

2025-01-12 18:41:54 +00:00
#!/bin/bash
URL=$(curl -s -F "file=@\"$1\";filename=.png" 'https://x0.at')
echo $URL | wl-copy
notify-send "$URL"