scripts/sshot/quickshot

10 lines
146 B
Fish
Executable File

#!/usr/bin/env fish
set f "/tmp/temp-"(date "+%y%m%d-%H%M%S")".png"
spectacle -b -r -n
if test -f "/tmp/temp.png"
mv "/tmp/temp.png" "$f"
end