Update 2023-04-16 19:12 OpenBSD/amd64-mini

This commit is contained in:
c0dev0id 2023-04-16 19:12:26 +02:00
parent 201e0a557b
commit f7cbf36c18

View File

@ -11,6 +11,8 @@ _filename="$(date "+%Y-%m-%d_%H-%M-%S")-sshot.png"
_file_tmp="/tmp/${_filename}"
_file_out="${HOME}/.screenshots/${_filename}"
mkdir -p "${HOME}/.screenshots"
flameshot gui -p "${_file_tmp}"
test -f "${_file_tmp}" || exit 1
@ -22,5 +24,6 @@ mv "${_file_tmp}" "${_file_out}"
scp "${_file_out}" "sdk@codevoid.de:/home/www/htdocs/gopher/p/${_filename}"
printf '%s' "https://codevoid.de/I/p/${_filename}" | xclip
echo "$_file_out"
notify-send "https://codevoid.de/I/p/${_filename}"