void- enter the void 🪐 |
git clone git://git.acid.vegas/archlinux.git |
Log | Files | Refs | Archive |
shotz (414B)
1 #!/bin/bash 2 # shotz - developed by acidvegas (https://acid.vegas/void) 3 # take a screenshot with selection and optionally upload it to hardfiles.org 4 5 output_dir="$HOME/media/i/scrots" 6 output_file=$(date "+scrot_%y-%m_%d_%T.png") 7 8 mkdir -p "$output_dir" 9 scrot -s "$output_dir/$output_file" 10 11 if [ "$1" = "-u" ]; then 12 curl -F file=@"$output_dir/$output_file" https://hardfiles.org/ | xclip -selection clipboard 13 fi