breeze-hacked-cursor-theme icon indicating copy to clipboard operation
breeze-hacked-cursor-theme copied to clipboard

Color version, black/grey

Open nnuel opened this issue 3 years ago • 4 comments

Does this include multiple color versions, or is it only the one in the screenshot?

nnuel avatar Jan 24 '22 11:01 nnuel

Only the one in the screenshot, but pull requests with other colors are welcome.

clayrisser avatar Jan 31 '22 11:01 clayrisser

i have been working quite in a rather sporadic way on a script to change the color of the cursor. https://github.com/eylles/breeze-hacked-cursor-theme/blob/oomox-plugin/change_color.sh

currently my progress is halted because i wanted to add a slightly modified version of the cursor theme as an option but haven't got to modifiying the svg yet.

eylles avatar Feb 05 '22 02:02 eylles

@eylles Would it change color based on light versus dark mode or is it something else that triggers a change. Or would it be to transform a base version into a permanent other base colored-version?

nnuel avatar Feb 08 '22 09:02 nnuel

@nnuel ehh not really no, the script is rather more primitive to say, if you want mutiple colored version you will have to run the script multiple times with different colors, as it can recieve theme name and path from args -o and -p respectively, the colors can be passed from a file or from shell redirection like so:

change_color.sh -o my-theme-name -p /path/to/.icons < (echo -e "BG=0E0E0E\nACCENT_BG=34BE5B")

you can also just pass a key=value file as last argument to the scrip, which needs to have the vars "BG" and "ACCENT_BG", as for the colors they have to be 6 digit RGB hex color values without the hash symbol "#"

that will do a sed in the svg to change the colors, then will copy the necesary files over a directory in /tmp and proceed to render the cursor with inkscape, once it is done it will export the theme to the specified path with the specified name.

eylles avatar Feb 08 '22 21:02 eylles

Just merged the pr for this. Hopefully it helps.

clayrisser avatar Jan 23 '24 15:01 clayrisser