aboutsummaryrefslogtreecommitdiff
path: root/screenshot.sh
blob: 21f490a33cb2405d136cd0a12c5308305d649e66 (plain)
1
2
3
4
5
6
7
#!/bin/sh

# Takes a screenshot

name="$(date +"%y%m%d_%H%M%S")".png
file="$HOME/images/screenshots/""$name"
maim -m 8 $file && notify-send -t 800 "Screenshot $name taken."