Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0d6b9185d | ||
|
|
e1d32fc6f3 | ||
|
|
50049bba08 |
4
.gitignore
vendored
4
.gitignore
vendored
@@ -0,0 +1,4 @@
|
|||||||
|
posy-black-tiny/
|
||||||
|
posy-black/
|
||||||
|
posy-white-tiny/
|
||||||
|
posy-white/
|
||||||
|
|||||||
36
build.sh
36
build.sh
@@ -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}"
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
progress
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
size_ver
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
circle
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
progress
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
copy
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
alias
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
progress
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
dnd-move
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
help
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
copy
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
alias
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
dnd-move
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
pointer
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
alias
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
default
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
copy
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
not-allowed
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
dnd-move
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
crosshair
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
not-allowed
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
help
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
copy
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
dnd-move
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
size_hor
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
pointer
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
dnd-move
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
no-drop
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
openhand
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
dnd-move
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
size_hor
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
progress
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
pointer
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
pointer
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
text
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
default
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
help
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
progress
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
alias
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
dnd-move
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
size_ver
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
size_bdiag
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
size_fdiag
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
cell
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
pointer
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
help
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
size_ver
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
size_hor
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
size_ver
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
fleur
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
col-resize
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
row-resize
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
size_ver
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
size_hor
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
wait
|
|
||||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user