diff options
Diffstat (limited to 'upshot')
-rwxr-xr-x | upshot | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,11 +5,11 @@ set -e file=$(mktemp --tmpdir screenshot-XXXX.png) maim -s "$file" #gimp "$file" -if tty &>/dev/null; then +if tty &>/dev/null && ! [[ $1 = "-n" ]]; then fb "$file" else #urxvt -geometry 79x1 -e - systemd-cat fb "$file" - notify-send -t 5000 "Screenshot upload complete" + output=$(fb "$file") + notify-send -t 5000 "Screenshot upload complete: $output" fi rm "$file" |