Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sevmeyer/mocu-xcursor
A modest xcursor theme
https://github.com/sevmeyer/mocu-xcursor
cursor cursor-theme xcursor xcursor-theme
Last synced: 4 days ago
JSON representation
A modest xcursor theme
- Host: GitHub
- URL: https://github.com/sevmeyer/mocu-xcursor
- Owner: sevmeyer
- License: cc0-1.0
- Created: 2021-05-21T15:08:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-04T19:51:58.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T21:55:11.888Z (3 months ago)
- Topics: cursor, cursor-theme, xcursor, xcursor-theme
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 24
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Mocu
====![Preview](mocu.png)
A modest xcursor theme, inspired by [DMZ] and [cz-Viator].
Available in white and black. Right and left-handed.
Size 24, 36, 48, 60, 72, 96. Distributed under the [CC0].[DMZ]: https://www.gnome-look.org/p/999970/
[cz-Viator]: https://github.com/charakterziffer/cursor-toolbox/
[CC0]: https://creativecommons.org/publicdomain/zero/1.0Make
----The themes can be generated with the make script:
./make.sh
Dependencies:
- Common bash, sed, grep, etc.
- rsvg-convert
- xmlstarlet
- xcursorgenCustomization
-------------The theme settings are stored in `src/themes.txt`.
### Colors
The svg files use placeholder colors, which are replaced
with the specific theme colors before rendering.#0a0b0c = shadow
#1a1b1c = stroke
#fafbfc = fill### Hotspot
Each svg source file must contain a `` element with `id="hot"`.
The center of the circle represents the hotspot.### Handedness
For a given handedness, each occurence of `class="HAND(SCALE,MOVE)"` is
replaced with `transform="translate(MOVE)scale(SCALE,1)"` before rendering.### Animations
To animate a cursor, the svg source file can be accompanied
by a `.txt` file. Each line in that file represents a frame,
in the format `DELAY ATTRIBUTE`. Each occurence of `class="anim"`
is replaced with `ATTRIBUTE` before rendering the respective frame.