- Notifications
You must be signed in to change notification settings - Fork0
Q1CHENL/crystal
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A stunning spinning mouse cursor for your GNOME desktop. Vibe coded inthreejs
npx vite
to run and open in your browserCapture frames pressing
s
Create a new folder
Crystal
wherever you like, move all frames to itCreate file
crystal.config
in it with the following content:Click to expand config content and explaination
32 9 2 cursor_00.png 15032 9 2 cursor_01.png 15032 9 2 cursor_02.png 15032 9 2 cursor_03.png 15032 9 2 cursor_04.png 15032 9 2 cursor_05.png 15032 9 2 cursor_06.png 15032 9 2 cursor_07.png 15032 9 2 cursor_08.png 15032 9 2 cursor_09.png 15032 9 2 cursor_10.png 15032 9 2 cursor_11.png 15032 9 2 cursor_12.png 15032 9 2 cursor_13.png 15032 9 2 cursor_14.png 15032 9 2 cursor_15.png 15032 9 2 cursor_16.png 15032 9 2 cursor_17.png 15032 9 2 cursor_18.png 15032 9 2 cursor_19.png 15032 9 2 cursor_20.png 15032 9 2 cursor_21.png 15032 9 2 cursor_22.png 15032 9 2 cursor_23.png 15032 9 2 cursor_24.png 15032 9 2 cursor_25.png 15032 9 2 cursor_26.png 15032 9 2 cursor_27.png 15032 9 2 cursor_28.png 15032 9 2 cursor_29.png 15032 9 2 cursor_30.png 15032 9 2 cursor_31.png 15032 9 2 cursor_32.png 15032 9 2 cursor_33.png 15032 9 2 cursor_34.png 15032 9 2 cursor_35.png 150
Explaination of
32 9 2 cursor_35.png 150
32
: the size of the cursor image in pixels (32x32)9 2
: x and y position of the hotspot (the point that clicks)cursor_xx.png
- name of the image file150
- time in milliseconds to show the image
Run
xcursorgen crystal.config left_ptr
to generate cursor file(Installxcursorgen
if you don't have it already)Create a new folder
~/.icons/Crystal
, create aindex.theme
file with the following content in it.
[Icon Theme]Name=PyramidInherits="Adwaita"
- create a folder
~/.icons/Crystal/cursors
, move the generated cursor fileleft_ptr
to it, run
ln -s left_ptr defaultln -s left_ptr pointerln -s left_ptr arrowln -s left_ptr top_left_arrowln -s left_ptr hand1ln -s left_ptr hand2
- Finally, select the cursor theme inGNOME Tweaks and enjoy!(Install
gnome-tweaks
if you don't have it already)