mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
scripts/screenshot: Use shorter hash name
This commit is contained in:
parent
b4e3cdeff3
commit
ad713cd680
@ -5,7 +5,7 @@ NOTIFY_APPNAME="$(basename "$0")"
|
|||||||
NOTIFY_ICONPATH="/usr/share/icons/Xenlism-Wildfire/Apps/screenshot.svg"
|
NOTIFY_ICONPATH="/usr/share/icons/Xenlism-Wildfire/Apps/screenshot.svg"
|
||||||
|
|
||||||
SCROT_CMD="maim -m 10 -us %"
|
SCROT_CMD="maim -m 10 -us %"
|
||||||
FILENAME=`date "+$NOTIFY_APPNAME-%Y-%m-%d-%H%M%S.png"`
|
FILENAME="$(date '+%s%N' | sha256sum | head -c7).png"
|
||||||
DIRECTORY="$HOME/pictures/screenshots"
|
DIRECTORY="$HOME/pictures/screenshots"
|
||||||
|
|
||||||
SCP_HOST=frebib@Poseidon.nerdhouse.io
|
SCP_HOST=frebib@Poseidon.nerdhouse.io
|
||||||
|
Loading…
Reference in New Issue
Block a user