From 7d75e550651f595b83642aefc48ef3cd01139bd7 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Thu, 13 Apr 2023 22:02:36 +0200 Subject: [PATCH] Update 2023-04-13 22:02 OpenBSD/amd64 --- .bin/sshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/sshot b/.bin/sshot index 7b9f94b..740e09d 100755 --- a/.bin/sshot +++ b/.bin/sshot @@ -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}"