#!/bin/sh
# Take screenshot with interactive area selection
# Saves screenshot with timestamp in directory named after the date

time=$(date +%b-%d-%Y-%T.%N)
day=$(date +%b-%d-%Y)
[ -d ~/pictures/screenshots/$day ] || mkdir ~/pictures/screenshots/$day
maim -s > ~/pictures/screenshots/$day/$time.png && notify-send "Screenshot Taken"