Scrot: Add message letting users now that a screenshot was taken
This commit is contained in:
parent
bc13d6d5d7
commit
4fdf4366ad
1 changed files with 20 additions and 1 deletions
21
neofetch
21
neofetch
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue