From 4fdf4366ad390b578ef7f8e5dae95710184bc24f Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 29 Jan 2017 18:42:47 +1100 Subject: [PATCH] Scrot: Add message letting users now that a screenshot was taken --- neofetch | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 75a39d38..ad05c025 100755 --- a/neofetch +++ b/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"