All Projects → ful1e5 → clickgen

ful1e5 / clickgen

Licence: MIT license
The hassle-free cursor building toolbox

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to clickgen

knime-docker
KNIME Analytics Platform & SDK with Docker Container in X11 desktop
Stars: ✭ 19 (-44.12%)
Mutual labels:  x11
nextshot
A simple tool for taking screenshots on Linux and sharing via Nextcloud
Stars: ✭ 37 (+8.82%)
Mutual labels:  x11
eseed-window
A minimal cross-platform C++17 window management library for rendering (deprecated)
Stars: ✭ 18 (-47.06%)
Mutual labels:  x11
BreezeX Cursor
extended KDE cursor
Stars: ✭ 59 (+73.53%)
Mutual labels:  cursors
xdimmer
lightweight X11 utility to dim the screen and/or keyboard backlight when idle
Stars: ✭ 25 (-26.47%)
Mutual labels:  x11
numix-cursor-theme
Numix cursor theme for Linux
Stars: ✭ 52 (+52.94%)
Mutual labels:  cursors
shapebar
A simple bar based on Lemonbar.
Stars: ✭ 16 (-52.94%)
Mutual labels:  x11
break-time
break timer that forces you to take a break
Stars: ✭ 13 (-61.76%)
Mutual labels:  x11
xcb-util-xrm
XCB utility functions for the X resource manager
Stars: ✭ 52 (+52.94%)
Mutual labels:  x11
marathon
minimal run-or-focus launcher for Linux/X
Stars: ✭ 54 (+58.82%)
Mutual labels:  x11
voidwm
voidwm • sanely patched dwm
Stars: ✭ 32 (-5.88%)
Mutual labels:  x11
simdock
small dock with pseudo-transparency and good window handling
Stars: ✭ 31 (-8.82%)
Mutual labels:  x11
xcursorlocate
cursor location indicator for x11
Stars: ✭ 16 (-52.94%)
Mutual labels:  x11
westford
Westford Wayland Compositor
Stars: ✭ 39 (+14.71%)
Mutual labels:  x11
rofi
Rofi: A window switcher, application launcher and dmenu replacement
Stars: ✭ 9,231 (+27050%)
Mutual labels:  x11
Hypr
Hypr is a tiling window manager written in modern C++.
Stars: ✭ 659 (+1838.24%)
Mutual labels:  x11
gxkb
🇫🇷🇬🇧🇩🇪 X11 keyboard indicator and switcher
Stars: ✭ 101 (+197.06%)
Mutual labels:  x11
macOS-cursors-for-Windows
Tested in Windows 10 & 11, 4K, 125%, 150%, 200%. With 2 versions, 2 types and 3 different sizes!
Stars: ✭ 578 (+1600%)
Mutual labels:  cursors
gow
GOW - stream games (and GUI) over Docker
Stars: ✭ 109 (+220.59%)
Mutual labels:  x11
tkbash
Build fancy GUIs via command line
Stars: ✭ 34 (+0%)
Mutual labels:  x11

CI PyPI - Wheel Docs Code Coverage CodeFactor

Clickgen

The hassle-free cursor building toolbox.

clickgen is API for building X11 and Windows Cursors from .png files. clickgen is using anicursorgen and xcursorgen under the hood.

Install

using pip

pip3 install clickgen

ArchLinux

yay -S python-clickgen

Manjaro

pamac build python-clickgen

CLI

clickgen -h

PyPi Dependencies

  • Pillow/python-pillow

Build Dependencies

  • gcc

External Libraries

  • libxcursor-dev
  • libx11-dev
  • libpng-dev (<=1.6)

Install Dependencies

macOS
brew install --cask xquartz
brew install libpng gcc
Debain/ubuntu
sudo apt install libx11-dev libxcursor-dev libpng-dev
ArchLinux/Manjaro
sudo pacman -S libx11 libxcursor libpng
Fedora/Fedora Silverblue/CentOS/RHEL
sudo dnf install libx11-devel libxcursor-devel libpng-devel

Examples

Check examples directory for building entire theme from .png files.

create a static XCursor

from pathlib import Path
from clickgen.builders import XCursor
from clickgen.core import CursorAlias

with CursorAlias.from_bitmap(png="all-scroll.png", hotspot=(5, 2)) as alias:
    x_cfg = alias.create(sizes=[(22, 22),(24, 24)])
    XCursor.create(alias_file=x_cfg, out_dir=Path("."))

create an animated XCursor

from pathlib import Path
from clickgen.builders import XCursor
from clickgen.core import CursorAlias

with CursorAlias.from_bitmap(png=["all-scroll-01.png", "all-scroll-02.png"], hotspot=(5, 2)) as alias:
    x_cfg = alias.create(sizes=[(22, 22),(24, 24)])
    XCursor.create(alias_file=x_cfg, out_dir=Path("."))

create a static Windows Cursor (.cur)

from pathlib import Path
from clickgen.builders import WindowsCursor
from clickgen.core import CursorAlias

with CursorAlias.from_bitmap(png="all-scroll.png", hotspot=(5, 2)) as alias:
    win_cfg = alias.create(sizes=(24, 24))
    WindowsCursor.create(alias_file=win_cfg, out_dir=Path("."))

create an animated Windows Cursor (.ani)

from pathlib import Path
from clickgen.builders import WindowsCursor
from clickgen.core import CursorAlias

with CursorAlias.from_bitmap(png=["all-scroll-01.png", "all-scroll-02.png"], hotspot=(5, 2)) as alias:
    win_cfg = alias.create(sizes=(24, 24))
    WindowsCursor.create(alias_file=win_cfg, out_dir=Path("."))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].