Screenshoting and uploading files to a file hosting service on Linux
Based on the work found at s-ul-curl-uploader and this issue, this is a bash script to quickly upload your flameshot screenshots into the s-ul.eu service. Dependencies flameshot curl libnotify xclip wl-clipboard jq Arch dependency installation sudo pacman -S flameshot curl libnotify xclip wl-clipboard jq Installation Automatic Download curl -o /home/$USER/.local/bin/sul-uploader https://gist.github.com/maotovisk/1a6a50c90982535bbaa69f6d8203ac74/raw/356f80ecc41587d09c0c68c84099c1c81f326002/sul-uploader The script #!/bin/bash app_name="S-UL" # Dependencies: curl, notify-send, xclip, wl-clipboard, jq function _notify() { notify-send --expire-time 1000 \ --app-name "$app_name" \ --icon 'flameshot' \ "$1" "$2" } store_directory=/home/$USER/s-ul if [[ !...