Skip to content

A system to effectly build custom cursor theme for X11.

Notifications You must be signed in to change notification settings

jilv220/xcursor-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xcursor-Build

Dependencies

just 
xcursorgen
imagemagick(convert)

Usage

  1. Clone the repo
  2. Run just boostrap to bootstrap the project
  3. Put the name of your cursor theme under justfile
cursor_theme_name := 'default'
  1. Under assets/png/<cursor-name>, you will find four sizes 24, 32, 48 and 64
  2. Drop the .png assets into their corresponding folder
  3. Config the cursor through editing config file under every /assets/png/<cursor-name>
    config has the following format
delay 250           # animation delay
size-24 0 0         # the coordinates of cursor tip 
size-32 0 0
size-48 0 0
size-64 0 0
  1. Config index.theme
[Icon Theme]        
Name = default     
Comment = Put your own comment here...
Example = default #optional 
Inherits = <the old cursor theme> #optional
  1. Run just build to build the package
  2. Run just install-local to install locally into ~/.icons
  3. Zip and publish your cursor theme to gnome-look, or package it manually into corresponding distro's package format

Some Term Differences

Cursor Name CSS Cursor Name
link/pointer pointer
left_ptr_watch progress
plus cell
link/alias alias
fleur move
openhand grab
closedhand grabbing
fleur all-scroll

For more details, please consult MDN.

Acknowledgement

Arch Wiki
Dracula Gtk Theme
Pop!_OS launcher

About

A system to effectly build custom cursor theme for X11.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published