Commit d402b17c authored by Naoki OKAMURA's avatar Naoki OKAMURA

bugfix: fix about wrong datetime format for filename

parent 0b09798e
......@@ -4,7 +4,7 @@ cd $HOME/Pictures
xdpyinfo -ext XINERAMA | sed '/^ head #/!d;s///' |
while IFS=' :x@,' read i w h x y; do
gm import -window root -crop ${w}x$h+$x+$y ScreenShot_$(date +%Y-%d-%mT%H:%M:%S)-head-$i.png
gm import -window root -crop ${w}x$h+$x+$y ScreenShot_$(date +%Y-%m-%dT%H:%M:%S)-head-$i.png
done
notify-send -u low ScreenShot 'done!'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment