
SharpDot
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
janet
7 years ago
Report
r-eddy-martin
7 years ago
Quote:No Discrimination Against Fields of Endeavor
The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.
Report
gracca
8 years ago
Voted good!
Report
r-eddy-martin
8 years ago
For example, using sed, we can replace all the colors easily:
sed 's/[old color]/[new color]/g' old_cursor.svg > new_cursor.svg
For example, in the following line, I have sed replace the colors (The '-e' option lets you place multiple text replacements on one line), and put the new svg's in another folder.
CD into the 'svg' folder where you unpacked the archive, and run this:
mkdir ../new_svg
for i in *.svg; do sed -e 's/#e9ddaf/#b8d0e8/g' -e 's/#fc0/#336699/g' -e 's/#c87137/#028482/g' $i > new_$i; done
I just picked a random blue-ish color scheme, replace the new numbers with colors you like.
This is a wonderful idea to have different color schemes available at build-time, and I am currently planning to do just that. If you have suggestions for color schemes (hex color names, please), leave them here and I will work them into the next release.
Thanks!
Report
r-eddy-martin
8 years ago
for i in *.svg; do sed -e 's/#e9ddaf/#b8d0e8/g' -e 's/#fc0/#336699/g' -e 's/#c87137/#028482/g' $i > ../new_svg/$(basename $i); done
Report
gracca
8 years ago
The sed replacements worked fine, so you could do something like "make blue" or "build blue".
Your install script has a bug in line 76 :)
Keep up the good work!!
Report
r-eddy-martin
8 years ago
For an example, see Comixcursors. They start out greyscale, but the build process changes the gray tones into colors.
Line 76 in the build script is a blank line, can you give me the error you are seeing?
Report
gracca
8 years ago
$ ./install.sh user
./install.sh: line 76: syntax error near unexpected token `elif'
./install.sh: line 76: ` elif [ $OPT = "user" ]; then user_install'
Report
r-eddy-martin
8 years ago
New version install script should run without errors, but let me know if you have trouble.
Report
nikolajthygesen
8 years ago
rsvg --format=png --width=30 --height=30 $i $PNGDIR/$(basename $i .svg).png
Report
r-eddy-martin
8 years ago
I'll add some code to the install script to detect the presence of either convert or rsvg and use the appropriate program.
Thanks!
Report
dunemafia
8 years ago
Report
r-eddy-martin
8 years ago
New version is in the works, with some improved cursors and more robust install script.
Thanks again,
-Eddy
Report