Scrot: Add message letting users now that a screenshot was taken
This commit is contained in:
parent
bc13d6d5d7
commit
4fdf4366ad
21
neofetch
21
neofetch
|
@ -2454,7 +2454,16 @@ scrot_upload() {
|
|||
fi
|
||||
|
||||
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
|
||||
"teknik")
|
||||
|
@ -2518,6 +2527,16 @@ scrot_program() {
|
|||
esac
|
||||
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.
|
||||
"${scrot_program[@]}" "$1"
|
||||
|
||||
|
|
Reference in New Issue