Add README.md, tweak build.sh

This commit is contained in:
Dmitry 2019-10-25 16:04:02 +04:00
parent 8769ebb20a
commit 6c9b4da571
2 changed files with 3 additions and 8 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
Original: michieldb.nl/other/cursors/
Installation script from here: https://github.com/keeferrourke/capitaine-cursors

View File

@ -7,14 +7,6 @@
function create {
cd "$SRC"
mkdir -p x1 x1_25 x1_5 x2
cd "$SRC"/$1
# find . -name "*.svg" -type f -exec sh -c 'inkscape -z -e "../x1/${0%.svg}.png" -w 32 -h 32 $0' {} \;
# find . -name "*.svg" -type f -exec sh -c 'inkscape -z -e "../x1_25/${0%.svg}.png" -w 40 -w 40 $0' {} \;
# find . -name "*.svg" -type f -exec sh -c 'inkscape -z -e "../x1_5/${0%.svg}.png" -w 48 -w 48 $0' {} \;
# find . -name "*.svg" -type f -exec sh -c 'inkscape -z -e "../x2/${0%.svg}.png" -w 64 -w 64 $0' {} \;
cd $SRC
# generate cursors
if [[ "$THEME" =~ White$ ]]; then
BUILD="$SRC"/../dist-white