diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-11-18 22:40:55 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2017-11-18 22:40:55 +0100 |
commit | 93190e95eeaacde335dec41518d34bd5376697fb (patch) | |
tree | 2f3633ef204fdd2b796315664cfad3a06702902a /textures/add_img.sh | |
parent | e0c938e73c2ca84cac28af531be737bdc8484e82 (diff) | |
parent | 5aff11f8f74c20a38ab0684d4724407d579424ba (diff) |
Merge branch 'juices' of https://github.com/h-v-smacker/freezer
Diffstat (limited to 'textures/add_img.sh')
-rwxr-xr-x | textures/add_img.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/textures/add_img.sh b/textures/add_img.sh new file mode 100755 index 0000000..192b387 --- /dev/null +++ b/textures/add_img.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# copy the source images as proper filenames +# then color them with GIMP + +if [ -z "$1" ]; then + echo "(!) usage: ./add_img.sh new_juice_name" +else + echo "(i) adding new juice type ${1}..." + cp "#drinking_glass.png" "${1}.png" + cp "#drinking_glass_inv.png" "${1}_inv.png" + cp "#popsicle.png" "${1}_popsicle.png" +fi
\ No newline at end of file |