Skip to content

Base template for XCursor theme repository with useful scripts to compile and install your xcursor theme.

Notifications You must be signed in to change notification settings

Nyvyme/xcursor-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XCursor Template

This is a set of scripts that will help you compile and install your xcursors.

Usage

vars.sh file contains global variables for build, clean and install processes.

compile.sh will compile your cursors. Built themes can be found in build directory. XCursor config files can be found in cursors directory. Rasterized images for different resolutions can be found in imgs directory.

install.sh will install cursors themes that were built by compile.sh script. If ran as root, it will place themes at /usr/share/icons directory. Otherwise, it will place them at $HOME/.local/share/icons directory.

clean.sh will remove all build artifacts.

src directory contains your source .SVG cursor images or directories with .SVG frames for animated cursors.

symlinks directory contains optional .links files for cursors. In these files symlinks for cursors are defined. Learn more in symlinks/README.md.

hotspots directory contains optional .hotspot files for cursors. In these files hotspots for cursors are defined. If file is not provided, compile.sh script will set cursor hotspots to (0;0). Learn more in hotspots/README.md.

frametimes directory contains optional .frametime files for animated cursors. In these files frametimes (in milliseconds) are defined. If file is not provided, compile.sh script will set frametime to a $DEFAULT_FRAMETIME that can be changed in var.sh script. Learn more in frametimes/README.md.

Requirements

bc, inkscape and xcursorgen must be installed to compile cursor themes.

About

Base template for XCursor theme repository with useful scripts to compile and install your xcursor theme.

Topics

Resources

Stars

Watchers

Forks

Languages