Based on the work found at https://github.com/remanifest/s-ul-curl-uploader and flameshot-org/flameshot#178 (comment), this is a bash script to quickly upload your flameshot screenshots into the https://s-ul.eu service.
- flameshot
- curl
- libnotify
- xclip
- wl-clipboard
- jq
sudo pacman -S flameshot curl libnotify xclip wl-clipboard jq
curl -o /home/$USER/.local/bin/sul-uploader https://gist.github.com/maotovisk/1a6a50c90982535bbaa69f6d8203ac74/raw/356f80ecc41587d09c0c68c84099c1c81f326002/sul-uploader
- Make it executable
chmod +x .local/bin/sul-uploader
- Edit the file and put your s-ul API Key into the
key
variable at line 30, you can find your api key at https://s-ul.eu/account/configurations - Add a new shortcut to run the script in yout desktop enviroment settings
- Remember to add it with the full path
/home/$USER/.local/bin/sul-uploader
, since most DEs don't add .local/bin into $PATH by default.
- Remember to add it with the full path