Update 2023-04-13 22:02 OpenBSD/amd64

This commit is contained in:
c0dev0id 2023-04-13 22:02:36 +02:00
parent d5fad13a6e
commit 7d75e55065

View File

@ -7,7 +7,7 @@ cleanup() {
notify-send "sshot: Aborted..."
}
_filename="scr-$(date "+%Y%m%d_%H%M")-$(pwgen -A -0 -1 3).png"
_filename="scr-$(date "+%Y-%m-%d_%H-%M-%S")-sshot.png"
_file_tmp="/tmp/${_filename}"
_file_out="${HOME}/.screenshots/${_filename}"
@ -23,4 +23,4 @@ scp "${_file_out}" "sdk@codevoid.de:/home/www/htdocs/gopher/p/${_filename}"
printf '%s' "https://codevoid.de/I/p/${_filename}" | xclip
notify-send "sshot: Screenshot copied to clipboard" "luakit https://codevoid.de/I/p/${_filename}"
notify-send "https://codevoid.de/I/p/${_filename}"