Scrot: Add message letting users now that a screenshot was taken

This commit is contained in:
Dylan Araps 2017-01-29 18:42:47 +11:00
parent bc13d6d5d7
commit 4fdf4366ad

View file

@ -2454,7 +2454,16 @@ scrot_upload() {
fi fi
image_file="${scrot_dir}${scrot_name}" image_file="${scrot_dir}${scrot_name}"
printf "%s\n" "Uploading image..."
# Print a message letting the user know we're uploading
# the screenshot.
printf "%s\r" "Uploading scrot"
sleep .2
printf "%s\r" "Uploading scrot."
sleep .2
printf "%s\r" "Uploading scrot.."
sleep .2
printf "%s\r" "Uploading scrot..."
case "$image_host" in case "$image_host" in
"teknik") "teknik")
@ -2518,6 +2527,16 @@ scrot_program() {
esac esac
fi fi
# Print a message letting the user know we're taking
# a screenshot.
printf "%s\r" "Taking scrot"
sleep .2
printf "%s\r" "Taking scrot."
sleep .2
printf "%s\r" "Taking scrot.."
sleep .2
printf "%s\r" "Taking scrot..."
# Take the scrot. # Take the scrot.
"${scrot_program[@]}" "$1" "${scrot_program[@]}" "$1"