Compare commits

...

3 Commits
v3.3 ... v3.3.2

Author SHA1 Message Date
Dmitry
a0d6b9185d Tweak colored output 2019-10-27 03:32:25 +04:00
Dmitry
e1d32fc6f3 Add colorful output 2019-10-27 03:31:51 +04:00
Dmitry
50049bba08 Ignore built themes 2019-10-27 03:16:51 +04:00
418 changed files with 17 additions and 261 deletions

4
.gitignore vendored
View File

@@ -0,0 +1,4 @@
posy-black-tiny/
posy-black/
posy-white-tiny/
posy-white/

View File

@@ -15,7 +15,6 @@ function buildWhite {
mkdir "$OUTPUT" mkdir "$OUTPUT"
fi fi
echo -ne "Generating cursor theme...\\r"
for CUR in config/*.cursor; do for CUR in config/*.cursor; do
BASENAME="$CUR" BASENAME="$CUR"
BASENAME="${BASENAME##*/}" BASENAME="${BASENAME##*/}"
@@ -23,12 +22,10 @@ function buildWhite {
xcursorgen "$CUR" "$OUTPUT/$BASENAME" xcursorgen "$CUR" "$OUTPUT/$BASENAME"
done done
echo -e "Generating cursor theme... DONE"
cd "$OUTPUT" cd "$OUTPUT"
#generate aliases #generate aliases
echo -ne "Generating shortcuts...\\r"
while read ALIAS; do while read ALIAS; do
FROM="${ALIAS#* }" FROM="${ALIAS#* }"
TO="${ALIAS% *}" TO="${ALIAS% *}"
@@ -38,17 +35,14 @@ function buildWhite {
fi fi
ln -sr "$FROM" "$TO" ln -sr "$FROM" "$TO"
done < "$ALIASES" done < "$ALIASES"
echo -e "Generating shortcuts... DONE"
cd "$PWD" cd "$PWD"
echo -ne "Generating Theme Index...\\r"
INDEX="$OUTPUT/../index.theme" INDEX="$OUTPUT/../index.theme"
if [ ! -e "$OUTPUT/../$INDEX" ]; then if [ ! -e "$OUTPUT/../$INDEX" ]; then
touch "$INDEX" touch "$INDEX"
echo -e "[Icon Theme]\nName=$themeWhite\n" > "$INDEX" echo -e "[Icon Theme]\nName=$themeWhite\n" > "$INDEX"
fi fi
echo -e "Generating Theme Index... DONE"
} }
function buildBlack { function buildBlack {
@@ -66,7 +60,6 @@ function buildBlack {
mkdir "$OUTPUT" mkdir "$OUTPUT"
fi fi
echo -ne "Generating cursor theme...\\r"
for CUR in config/*.cursor; do for CUR in config/*.cursor; do
BASENAME="$CUR" BASENAME="$CUR"
BASENAME="${BASENAME##*/}" BASENAME="${BASENAME##*/}"
@@ -74,12 +67,10 @@ function buildBlack {
xcursorgen "$CUR" "$OUTPUT/$BASENAME" xcursorgen "$CUR" "$OUTPUT/$BASENAME"
done done
echo -e "Generating cursor theme... DONE"
cd "$OUTPUT" cd "$OUTPUT"
#generate aliases #generate aliases
echo -ne "Generating shortcuts...\\r"
while read ALIAS; do while read ALIAS; do
FROM="${ALIAS#* }" FROM="${ALIAS#* }"
TO="${ALIAS% *}" TO="${ALIAS% *}"
@@ -89,17 +80,14 @@ function buildBlack {
fi fi
ln -sr "$FROM" "$TO" ln -sr "$FROM" "$TO"
done < "$ALIASES" done < "$ALIASES"
echo -e "Generating shortcuts... DONE"
cd "$PWD" cd "$PWD"
echo -ne "Generating Theme Index...\\r"
INDEX="$OUTPUT/../index.theme" INDEX="$OUTPUT/../index.theme"
if [ ! -e "$OUTPUT/../$INDEX" ]; then if [ ! -e "$OUTPUT/../$INDEX" ]; then
touch "$INDEX" touch "$INDEX"
echo -e "[Icon Theme]\nName=$themeBlack\n" > "$INDEX" echo -e "[Icon Theme]\nName=$themeBlack\n" > "$INDEX"
fi fi
echo -e "Generating Theme Index... DONE"
} }
function buildBlackTiny { function buildBlackTiny {
@@ -117,7 +105,6 @@ function buildBlackTiny {
mkdir "$OUTPUT" mkdir "$OUTPUT"
fi fi
echo -ne "Generating cursor theme...\\r"
for CUR in config/*.cursor; do for CUR in config/*.cursor; do
BASENAME="$CUR" BASENAME="$CUR"
BASENAME="${BASENAME##*/}" BASENAME="${BASENAME##*/}"
@@ -125,12 +112,10 @@ function buildBlackTiny {
xcursorgen "$CUR" "$OUTPUT/$BASENAME" xcursorgen "$CUR" "$OUTPUT/$BASENAME"
done done
echo -e "Generating cursor theme... DONE"
cd "$OUTPUT" cd "$OUTPUT"
#generate aliases #generate aliases
echo -ne "Generating shortcuts...\\r"
while read ALIAS; do while read ALIAS; do
FROM="${ALIAS#* }" FROM="${ALIAS#* }"
TO="${ALIAS% *}" TO="${ALIAS% *}"
@@ -140,17 +125,14 @@ function buildBlackTiny {
fi fi
ln -sr "$FROM" "$TO" ln -sr "$FROM" "$TO"
done < "$ALIASES" done < "$ALIASES"
echo -e "Generating shortcuts... DONE"
cd "$PWD" cd "$PWD"
echo -ne "Generating Theme Index...\\r"
INDEX="$OUTPUT/../index.theme" INDEX="$OUTPUT/../index.theme"
if [ ! -e "$OUTPUT/../$INDEX" ]; then if [ ! -e "$OUTPUT/../$INDEX" ]; then
touch "$INDEX" touch "$INDEX"
echo -e "[Icon Theme]\nName=$themeBlackTiny\n" > "$INDEX" echo -e "[Icon Theme]\nName=$themeBlackTiny\n" > "$INDEX"
fi fi
echo -e "Generating Theme Index... DONE"
} }
function buildWhiteTiny { function buildWhiteTiny {
@@ -168,7 +150,6 @@ function buildWhiteTiny {
mkdir "$OUTPUT" mkdir "$OUTPUT"
fi fi
echo -ne "Generating cursor theme...\\r"
for CUR in config/*.cursor; do for CUR in config/*.cursor; do
BASENAME="$CUR" BASENAME="$CUR"
BASENAME="${BASENAME##*/}" BASENAME="${BASENAME##*/}"
@@ -176,12 +157,10 @@ function buildWhiteTiny {
xcursorgen "$CUR" "$OUTPUT/$BASENAME" xcursorgen "$CUR" "$OUTPUT/$BASENAME"
done done
echo -e "Generating cursor theme... DONE"
cd "$OUTPUT" cd "$OUTPUT"
#generate aliases #generate aliases
echo -ne "Generating shortcuts...\\r"
while read ALIAS; do while read ALIAS; do
FROM="${ALIAS#* }" FROM="${ALIAS#* }"
TO="${ALIAS% *}" TO="${ALIAS% *}"
@@ -191,17 +170,14 @@ function buildWhiteTiny {
fi fi
ln -sr "$FROM" "$TO" ln -sr "$FROM" "$TO"
done < "$ALIASES" done < "$ALIASES"
echo -e "Generating shortcuts... DONE"
cd "$PWD" cd "$PWD"
echo -ne "Generating Theme Index...\\r"
INDEX="$OUTPUT/../index.theme" INDEX="$OUTPUT/../index.theme"
if [ ! -e "$OUTPUT/../$INDEX" ]; then if [ ! -e "$OUTPUT/../$INDEX" ]; then
touch "$INDEX" touch "$INDEX"
echo -e "[Icon Theme]\nName=$themeWhiteTiny\n" > "$INDEX" echo -e "[Icon Theme]\nName=$themeWhiteTiny\n" > "$INDEX"
fi fi
echo -e "Generating Theme Index... DONE"
} }
sourceWhite=$PWD/White sourceWhite=$PWD/White
@@ -216,7 +192,19 @@ themeWhiteTiny="Posy White Tiny"
sourceBlackTiny=$PWD/BlackTiny sourceBlackTiny=$PWD/BlackTiny
themeBlackTiny="Posy Black Tiny" themeBlackTiny="Posy Black Tiny"
RED="\033[0;31m"
ORANGE="\033[0;33m"
YELLOW="\033[1;33m"
GREEN="\033[0;32m"
BLUE="\033[0;34m"
PURPLE="\033[0;35m"
COLORLESS="\033[0m"
echo -e "${RED}Gener${COLORLESS}${ORANGE}ating${COLORLESS} ${YELLOW}cur${COLORLESS}${GREEN}sor${COLORLESS} ${BLUE}the${COLORLESS}${PURPLE}mes ...${COLORLESS}"
buildWhite buildWhite
buildBlack buildBlack
buildWhiteTiny buildWhiteTiny
buildBlackTiny buildBlackTiny
echo -e "${RED}\nF${COLORLESS}${ORANGE}I${COLORLESS}${YELLOW}N${COLORLESS}${GREEN}I${COLORLESS}${BLUE}S${COLORLESS}${PURPLE}H${COLORLESS}"

View File

@@ -1 +0,0 @@
progress

View File

@@ -1 +0,0 @@
size_ver

View File

@@ -1 +0,0 @@
progress

View File

@@ -1 +0,0 @@
progress

View File

@@ -1 +0,0 @@
dnd-move

View File

@@ -1 +0,0 @@
dnd-move

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
default

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
not-allowed

View File

@@ -1 +0,0 @@
dnd-move

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
crosshair

View File

@@ -1 +0,0 @@
not-allowed

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
copy

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
dnd-move

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
size_hor

View File

@@ -1 +0,0 @@
dnd-move

Binary file not shown.

View File

@@ -1 +0,0 @@
no-drop

View File

@@ -1 +0,0 @@
openhand

View File

@@ -1 +0,0 @@
dnd-move

View File

@@ -1 +0,0 @@
size_hor

View File

@@ -1 +0,0 @@
progress

View File

@@ -1 +0,0 @@
pointer

View File

@@ -1 +0,0 @@
pointer

Binary file not shown.

View File

@@ -1 +0,0 @@
text

Binary file not shown.

View File

@@ -1 +0,0 @@
default

View File

@@ -1 +0,0 @@
help

View File

@@ -1 +0,0 @@
progress

Binary file not shown.

View File

@@ -1 +0,0 @@
alias

View File

@@ -1 +0,0 @@
dnd-move

View File

@@ -1 +0,0 @@
size_ver

View File

@@ -1 +0,0 @@
size_bdiag

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
size_fdiag

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
cell

Binary file not shown.

View File

@@ -1 +0,0 @@
pointer

Binary file not shown.

View File

@@ -1 +0,0 @@
help

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
size_ver

View File

@@ -1 +0,0 @@
size_hor

View File

@@ -1 +0,0 @@
size_ver

View File

@@ -1 +0,0 @@
fleur

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
col-resize

View File

@@ -1 +0,0 @@
row-resize

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
size_ver

View File

@@ -1 +0,0 @@
size_hor

Binary file not shown.

View File

@@ -1 +0,0 @@
wait

Some files were not shown because too many files have changed in this diff Show More