3 # Apparently using png screws up sometimes so let's try using good old jpg
5 screenshot_directory=/tmp
10 zenity --question --text "$question" --width=300 --timeout=$timeout 2> /dev/null
15 gnome-screenshot --window --clipboard
16 aplay ~/Conf/CameraClick.wav
18 file="$screenshot_directory/$(date +%F@%T).jpg"
20 if yesno "Save screenshot as $file?"; then
21 xclip -selection clipboard -t image/jpeg -o > $file