Commit 4fdf4366 authored by Dylan Araps's avatar Dylan Araps

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

parent bc13d6d5
...@@ -2454,7 +2454,16 @@ scrot_upload() { ...@@ -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() { ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment