bin/scr
#!/bin/sh # # Take a screenshot scr_dir=~/pix/screenshots date=$(date +%F) time=$(date +%I-%M-%S) file=$scr_dir/$date/$date-$time.jpg mkdir -p "$scr_dir/$date" import -window root "$file" cp -f "$file" "$scr_dir/current.jpg"