dots

Personal dotfiles
git clone git://git.gormless.xyz/dots.git
Log | Files | Refs

screenshot (187B)


      1 #!/bin/sh -e
      2 
      3 dir="$HOME/usr/img/screenshots"
      4 
      5 area="$(slop -o)"
      6 date="$(date +%Y%m%d-%H%M%S)"
      7 mkdir -p "$dir"
      8 output="$dir/${date}-$area.png"
      9 import -window root -crop "$area" "$output"