~azzar1/unity/add-show-desktop-key

1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# Takes the name of a PNG file (such as tab.png).
# Splits into 3 images.

BASE=`basename $1 '.png'`

convert "$1" -crop 4x20+0+0 "$BASE-left.png"
convert "$1" -crop 4x20+4+0 "$BASE-mid.png"
convert "$1" -crop 4x20+61+0 "$BASE-right.png"