upload
This commit is contained in:
parent
287a62ef9d
commit
ae49e7ed5f
257 changed files with 10864 additions and 0 deletions
34
README.md
Normal file
34
README.md
Normal file
|
@ -0,0 +1,34 @@
|
|||
# McMojave cursors
|
||||
This is an x-cursor theme inspired by macOS and based on KDE Breeze.
|
||||
|
||||
|
||||
## Installation
|
||||
To install the cursor theme simply copy the compiled theme to your icons
|
||||
directory. For local user installation:
|
||||
|
||||
```
|
||||
cp -pr dist/ ~/.icons/McMojave-cursors
|
||||
```
|
||||
|
||||
For system-wide installation for all users:
|
||||
|
||||
```
|
||||
sudo cp -pr dist/ /usr/share/icons/McMojave-cursors
|
||||
```
|
||||
|
||||
Then set the theme with your preferred desktop tools.
|
||||
|
||||
## Building from source
|
||||
You'll find everything you need to build and modify this cursor set in
|
||||
the `src/` directory. To build the xcursor theme from the SVG source
|
||||
run:
|
||||
|
||||
```
|
||||
./build.sh
|
||||
```
|
||||
|
||||
This will generate the pixmaps and appropriate aliases.
|
||||
The freshly compiled cursor theme will be located in `dist/`
|
||||
|
||||
## Preview
|
||||
![](preview.png)
|
67
build.sh
Executable file
67
build.sh
Executable file
|
@ -0,0 +1,67 @@
|
|||
#!/bin/bash
|
||||
|
||||
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
|
||||
BUILD="$SRC"/../dist
|
||||
OUTPUT="$BUILD"/cursors
|
||||
ALIASES="$SRC"/cursorList
|
||||
|
||||
if [ ! -d "$BUILD" ]; then
|
||||
mkdir "$BUILD"
|
||||
fi
|
||||
if [ ! -d "$OUTPUT" ]; then
|
||||
mkdir "$OUTPUT"
|
||||
fi
|
||||
|
||||
echo -ne "Generating cursor theme...\\r"
|
||||
for CUR in config/*.cursor; do
|
||||
BASENAME="$CUR"
|
||||
BASENAME="${BASENAME##*/}"
|
||||
BASENAME="${BASENAME%.*}"
|
||||
|
||||
xcursorgen "$CUR" "$OUTPUT/$BASENAME"
|
||||
done
|
||||
echo -e "Generating cursor theme... DONE"
|
||||
|
||||
cd "$OUTPUT"
|
||||
|
||||
#generate aliases
|
||||
echo -ne "Generating shortcuts...\\r"
|
||||
while read ALIAS; do
|
||||
FROM="${ALIAS#* }"
|
||||
TO="${ALIAS% *}"
|
||||
|
||||
if [ -e $TO ]; then
|
||||
continue
|
||||
fi
|
||||
ln -sr "$FROM" "$TO"
|
||||
done < "$ALIASES"
|
||||
echo -e "Generating shortcuts... DONE"
|
||||
|
||||
cd "$PWD"
|
||||
|
||||
echo -ne "Generating Theme Index...\\r"
|
||||
INDEX="$OUTPUT/../index.theme"
|
||||
if [ ! -e "$OUTPUT/../$INDEX" ]; then
|
||||
touch "$INDEX"
|
||||
echo -e "[Icon Theme]\nName=$THEME\n" > "$INDEX"
|
||||
fi
|
||||
echo -e "Generating Theme Index... DONE"
|
||||
}
|
||||
|
||||
# generate pixmaps from svg source
|
||||
SRC=$PWD/src
|
||||
THEME="McMojave Cursors"
|
||||
|
||||
create svg
|
||||
|
1
dist/cursors/00000000000000020006000e7e9ffc3f
vendored
Symbolic link
1
dist/cursors/00000000000000020006000e7e9ffc3f
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
progress
|
1
dist/cursors/00008160000006810000408080010102
vendored
Symbolic link
1
dist/cursors/00008160000006810000408080010102
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_ver
|
1
dist/cursors/03b6e0fcb3499374a867c041f52298f0
vendored
Symbolic link
1
dist/cursors/03b6e0fcb3499374a867c041f52298f0
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
circle
|
1
dist/cursors/08e8e1c95fe2fc01f976f1e063a24ccd
vendored
Symbolic link
1
dist/cursors/08e8e1c95fe2fc01f976f1e063a24ccd
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
progress
|
1
dist/cursors/1081e37283d90000800003c07f3ef6bf
vendored
Symbolic link
1
dist/cursors/1081e37283d90000800003c07f3ef6bf
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
copy
|
1
dist/cursors/3085a0e285430894940527032f8b26df
vendored
Symbolic link
1
dist/cursors/3085a0e285430894940527032f8b26df
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
alias
|
1
dist/cursors/3ecb610c1bf2410f44200f48c40d3599
vendored
Symbolic link
1
dist/cursors/3ecb610c1bf2410f44200f48c40d3599
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
progress
|
1
dist/cursors/4498f0e0c1937ffe01fd06f973665830
vendored
Symbolic link
1
dist/cursors/4498f0e0c1937ffe01fd06f973665830
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd-move
|
1
dist/cursors/5c6cd98b3f3ebcb1f9c7f1c204630408
vendored
Symbolic link
1
dist/cursors/5c6cd98b3f3ebcb1f9c7f1c204630408
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
help
|
1
dist/cursors/6407b0e94181790501fd1e167b474872
vendored
Symbolic link
1
dist/cursors/6407b0e94181790501fd1e167b474872
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
copy
|
1
dist/cursors/640fb0e74195791501fd1ed57b41487f
vendored
Symbolic link
1
dist/cursors/640fb0e74195791501fd1ed57b41487f
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
alias
|
1
dist/cursors/9081237383d90e509aa00f00170e968f
vendored
Symbolic link
1
dist/cursors/9081237383d90e509aa00f00170e968f
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd-move
|
1
dist/cursors/9d800788f1b08800ae810202380a0822
vendored
Symbolic link
1
dist/cursors/9d800788f1b08800ae810202380a0822
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
pointer
|
1
dist/cursors/a2a266d0498c3104214a47bd64ab0fc8
vendored
Symbolic link
1
dist/cursors/a2a266d0498c3104214a47bd64ab0fc8
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
alias
|
BIN
dist/cursors/alias
vendored
Normal file
BIN
dist/cursors/alias
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/all-scroll
vendored
Normal file
BIN
dist/cursors/all-scroll
vendored
Normal file
Binary file not shown.
1
dist/cursors/arrow
vendored
Symbolic link
1
dist/cursors/arrow
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
default
|
1
dist/cursors/b66166c04f8c3109214a4fbd64a50fc8
vendored
Symbolic link
1
dist/cursors/b66166c04f8c3109214a4fbd64a50fc8
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
copy
|
BIN
dist/cursors/bottom_left_corner
vendored
Normal file
BIN
dist/cursors/bottom_left_corner
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/bottom_right_corner
vendored
Normal file
BIN
dist/cursors/bottom_right_corner
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/bottom_side
vendored
Normal file
BIN
dist/cursors/bottom_side
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/cell
vendored
Normal file
BIN
dist/cursors/cell
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/center_ptr
vendored
Normal file
BIN
dist/cursors/center_ptr
vendored
Normal file
Binary file not shown.
1
dist/cursors/circle
vendored
Symbolic link
1
dist/cursors/circle
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
not-allowed
|
1
dist/cursors/closedhand
vendored
Symbolic link
1
dist/cursors/closedhand
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd-move
|
BIN
dist/cursors/col-resize
vendored
Normal file
BIN
dist/cursors/col-resize
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/color-picker
vendored
Normal file
BIN
dist/cursors/color-picker
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/context-menu
vendored
Normal file
BIN
dist/cursors/context-menu
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/copy
vendored
Normal file
BIN
dist/cursors/copy
vendored
Normal file
Binary file not shown.
1
dist/cursors/cross
vendored
Symbolic link
1
dist/cursors/cross
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
crosshair
|
1
dist/cursors/crossed_circle
vendored
Symbolic link
1
dist/cursors/crossed_circle
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
not-allowed
|
BIN
dist/cursors/crosshair
vendored
Normal file
BIN
dist/cursors/crosshair
vendored
Normal file
Binary file not shown.
1
dist/cursors/d9ce0ab605698f320427677b458ad60b
vendored
Symbolic link
1
dist/cursors/d9ce0ab605698f320427677b458ad60b
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
help
|
BIN
dist/cursors/default
vendored
Normal file
BIN
dist/cursors/default
vendored
Normal file
Binary file not shown.
1
dist/cursors/dnd-copy
vendored
Symbolic link
1
dist/cursors/dnd-copy
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
copy
|
BIN
dist/cursors/dnd-move
vendored
Normal file
BIN
dist/cursors/dnd-move
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/dnd-no-drop
vendored
Normal file
BIN
dist/cursors/dnd-no-drop
vendored
Normal file
Binary file not shown.
1
dist/cursors/dnd-none
vendored
Symbolic link
1
dist/cursors/dnd-none
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd-move
|
BIN
dist/cursors/down-arrow
vendored
Normal file
BIN
dist/cursors/down-arrow
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/draft
vendored
Normal file
BIN
dist/cursors/draft
vendored
Normal file
Binary file not shown.
1
dist/cursors/e-resize
vendored
Symbolic link
1
dist/cursors/e-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_hor
|
1
dist/cursors/e29285e634086352946a0e7090d73106
vendored
Symbolic link
1
dist/cursors/e29285e634086352946a0e7090d73106
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
pointer
|
1
dist/cursors/fcf21c00b30f7e3f83fe0dfd12e71cff
vendored
Symbolic link
1
dist/cursors/fcf21c00b30f7e3f83fe0dfd12e71cff
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd-move
|
BIN
dist/cursors/fleur
vendored
Normal file
BIN
dist/cursors/fleur
vendored
Normal file
Binary file not shown.
1
dist/cursors/forbidden
vendored
Symbolic link
1
dist/cursors/forbidden
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
no-drop
|
1
dist/cursors/grab
vendored
Symbolic link
1
dist/cursors/grab
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
openhand
|
1
dist/cursors/grabbing
vendored
Symbolic link
1
dist/cursors/grabbing
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd-move
|
1
dist/cursors/h_double_arrow
vendored
Symbolic link
1
dist/cursors/h_double_arrow
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_hor
|
1
dist/cursors/half-busy
vendored
Symbolic link
1
dist/cursors/half-busy
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
progress
|
1
dist/cursors/hand1
vendored
Symbolic link
1
dist/cursors/hand1
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
pointer
|
1
dist/cursors/hand2
vendored
Symbolic link
1
dist/cursors/hand2
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
pointer
|
BIN
dist/cursors/help
vendored
Normal file
BIN
dist/cursors/help
vendored
Normal file
Binary file not shown.
1
dist/cursors/ibeam
vendored
Symbolic link
1
dist/cursors/ibeam
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
text
|
BIN
dist/cursors/left-arrow
vendored
Normal file
BIN
dist/cursors/left-arrow
vendored
Normal file
Binary file not shown.
1
dist/cursors/left_ptr
vendored
Symbolic link
1
dist/cursors/left_ptr
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
default
|
1
dist/cursors/left_ptr_help
vendored
Symbolic link
1
dist/cursors/left_ptr_help
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
help
|
1
dist/cursors/left_ptr_watch
vendored
Symbolic link
1
dist/cursors/left_ptr_watch
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
progress
|
BIN
dist/cursors/left_side
vendored
Normal file
BIN
dist/cursors/left_side
vendored
Normal file
Binary file not shown.
1
dist/cursors/link
vendored
Symbolic link
1
dist/cursors/link
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
alias
|
1
dist/cursors/ll_angle
vendored
Symbolic link
1
dist/cursors/ll_angle
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_left_corner
|
1
dist/cursors/lr_angle
vendored
Symbolic link
1
dist/cursors/lr_angle
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_right_corner
|
1
dist/cursors/move
vendored
Symbolic link
1
dist/cursors/move
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
dnd-move
|
1
dist/cursors/n-resize
vendored
Symbolic link
1
dist/cursors/n-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_ver
|
1
dist/cursors/ne-resize
vendored
Symbolic link
1
dist/cursors/ne-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
top_right_corner
|
1
dist/cursors/nesw-resize
vendored
Symbolic link
1
dist/cursors/nesw-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_bdiag
|
BIN
dist/cursors/no-drop
vendored
Normal file
BIN
dist/cursors/no-drop
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/not-allowed
vendored
Normal file
BIN
dist/cursors/not-allowed
vendored
Normal file
Binary file not shown.
1
dist/cursors/nw-resize
vendored
Symbolic link
1
dist/cursors/nw-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
top_left_corner
|
1
dist/cursors/nwse-resize
vendored
Symbolic link
1
dist/cursors/nwse-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_fdiag
|
BIN
dist/cursors/openhand
vendored
Normal file
BIN
dist/cursors/openhand
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/pencil
vendored
Normal file
BIN
dist/cursors/pencil
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/pirate
vendored
Normal file
BIN
dist/cursors/pirate
vendored
Normal file
Binary file not shown.
1
dist/cursors/plus
vendored
Symbolic link
1
dist/cursors/plus
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
cell
|
BIN
dist/cursors/pointer
vendored
Normal file
BIN
dist/cursors/pointer
vendored
Normal file
Binary file not shown.
1
dist/cursors/pointing_hand
vendored
Symbolic link
1
dist/cursors/pointing_hand
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
pointer
|
BIN
dist/cursors/progress
vendored
Normal file
BIN
dist/cursors/progress
vendored
Normal file
Binary file not shown.
1
dist/cursors/question_arrow
vendored
Symbolic link
1
dist/cursors/question_arrow
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
help
|
BIN
dist/cursors/right-arrow
vendored
Normal file
BIN
dist/cursors/right-arrow
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/right_ptr
vendored
Normal file
BIN
dist/cursors/right_ptr
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/right_side
vendored
Normal file
BIN
dist/cursors/right_side
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/row-resize
vendored
Normal file
BIN
dist/cursors/row-resize
vendored
Normal file
Binary file not shown.
1
dist/cursors/s-resize
vendored
Symbolic link
1
dist/cursors/s-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_ver
|
1
dist/cursors/sb_h_double_arrow
vendored
Symbolic link
1
dist/cursors/sb_h_double_arrow
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_hor
|
1
dist/cursors/sb_v_double_arrow
vendored
Symbolic link
1
dist/cursors/sb_v_double_arrow
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
size_ver
|
1
dist/cursors/se-resize
vendored
Symbolic link
1
dist/cursors/se-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_right_corner
|
1
dist/cursors/size_all
vendored
Symbolic link
1
dist/cursors/size_all
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
fleur
|
BIN
dist/cursors/size_bdiag
vendored
Normal file
BIN
dist/cursors/size_bdiag
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/size_fdiag
vendored
Normal file
BIN
dist/cursors/size_fdiag
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/size_hor
vendored
Normal file
BIN
dist/cursors/size_hor
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/size_ver
vendored
Normal file
BIN
dist/cursors/size_ver
vendored
Normal file
Binary file not shown.
1
dist/cursors/split_h
vendored
Symbolic link
1
dist/cursors/split_h
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
col-resize
|
1
dist/cursors/split_v
vendored
Symbolic link
1
dist/cursors/split_v
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
row-resize
|
1
dist/cursors/sw-resize
vendored
Symbolic link
1
dist/cursors/sw-resize
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
bottom_left_corner
|
BIN
dist/cursors/text
vendored
Normal file
BIN
dist/cursors/text
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/top_left_corner
vendored
Normal file
BIN
dist/cursors/top_left_corner
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/top_right_corner
vendored
Normal file
BIN
dist/cursors/top_right_corner
vendored
Normal file
Binary file not shown.
BIN
dist/cursors/top_side
vendored
Normal file
BIN
dist/cursors/top_side
vendored
Normal file
Binary file not shown.
1
dist/cursors/ul_angle
vendored
Symbolic link
1
dist/cursors/ul_angle
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
top_left_corner
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue