#!/bin/sh

mkdir -p ~/Screenshots

case $1 in
--full)
    scrot -m -q 100 '%Y-%m-%d-%T_$wx$h.png' -e 'mv $f ~/Screenshots/' && notify-send -i $HOME/.config/dunst/photograph.png "Screenshot taken..."
    ;;
--optional)
    sleep 1
    flameshot gui -p ~/Screenshots
    ;;
--region)
    sleep 1
    scrot -s -f -l style=solid,width=2,color="red" -q 100 '%Y-%m-%d-%T_$wx$h.png' -e 'mv $f ~/Screenshots/' && notify-send -i $HOME/.config/dunst/photograph.png "Screenshot taken..."
    ;;
*)
    ;;
esac
