Update 2023-04-13 22:02 OpenBSD/amd64
This commit is contained in:
parent
d5fad13a6e
commit
7d75e55065
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user