Skip to content

ful1e5/Bibata_Cursor

Repository files navigation

⚠️ Notice: Final Major Version v2.x.x

I've launched the successor to this project at https://www.github.com/ful1e5/bibata for downloading and personalizing Bibata, now the main source for new features. I recommend downloading from there. This repository is still maintained for Linux packages.

💖 Support Bibata's Future

Your sponsorship is crucial for Bibata's ongoing success. A $1 contribution helps maintain servers for 24/7 accessibility. With your support, I can upgrade to high-performance AWS servers, improving user experience. Sponsors also enjoy exclusive premium features for a more rewarding engagement.

Bibata Cursor

build

TLDR; This cursor set is a masterpiece of cursors available on the internet, hand-designed by Abdulkaiz Khatri.

Bibata is an open source, compact, and material designed cursor set that aims to improve the cursor experience for users. It is one of the most popular cursor sets in the Linux community and is now available for free on Windows as well, with multiple color and size options. Its goal is to offer personalized cursors to users.

What does "Bibata" mean?

The sweetest word I ever spoke was "BI-Buh," which, coincidentally, is also the word for peanuts. To make it more pronounceable and not sound like a baby's words, I added the suffix "Ta." And with that, my journey in the world of open source began.

Notes

  • All cursor's SVG files are found in svg directory or you can also find them on Figma.

  • This repository is now synchronized with the bibata project, which has become the new mainstream for acquiring new features and updates. I recommend downloading from there. However, this repository is still periodically maintained to ensure its relevance and usability for linux packages.

shoutout-sponsors

  • 2024-06-14: 4460d91 Partitioned cursor build configuration into multiple files according to platform:
    • build.toml
      • configs/normal/x.build.toml
      • configs/normal/win_xl.build.toml
      • configs/normal/win_rg.build.toml
      • configs/normal/win_lg.build.toml
    • build.right.toml
      • configs/right/x.build.toml
      • configs/right/win_xl.build.toml
      • configs/right/win_rg.build.toml
      • configs/right/win_lg.build.toml

Bibata Amber Bibata Classic Bibata Ice


Bibata Amber Right Bibata Classic Right Bibata Ice Right

Variants:

  • Normal
    • Bibata Original Amber: Yellowish and sharp edge bibata cursors.
    • Bibata Modern Amber: Yellowish and rounded edge bibata cursors.
    • Bibata Original Classic: Black and sharp edge bibata cursors.
    • Bibata Modern Classic: Black and rounded edge bibata cursors.
    • Bibata Original Ice: White and sharp edge bibata cursors.
    • Bibata Modern Ice: White and rounded edge bibata cursors.
  • Right Hand
    • Bibata Original Amber Right: Yellowish and sharp edge right-hand bibata cursors.
    • Bibata Modern Amber Right: Yellowish and rounded edge right-hand bibata cursors.
    • Bibata Original Classic Right: Black and sharp edge right-hand bibata cursors.
    • Bibata Modern Classic Right: Black and rounded edge right-hand bibata cursors.
    • Bibata Original Ice Right: White and sharp edge right-hand bibata cursors.
    • Bibata Modern Ice Right: White and rounded edge right-hand bibata cursors.

Cursor Sizes

Xcursor Sizes:

16 20 22 24 28 32 40 48 56 64 72 80 88 96

Windows Cursor Size:

  • 16x16 - Small
  • 24x24 - Regular
  • 32x32 - Large
  • 48x48 - Extra Large

Colors:

Bibata Amber

  • Base Color - #FF8300 (Amber)
  • Outline Color - #FFFFFF (White)
  • Watch Background Color - #001524 (Rich Black)

Bibata Classic

  • Base Color - #000000 (Black)
  • Outline Color - #FFFFFF (White)
  • Watch Background Color - #000000 (Black)

Bibata Ice

  • Base Color - #FFFFFF (White)
  • Outline Color - #000000 (Black)
  • Watch Background Color - #FFFFFF (White)

How to get it

Easiest Way

You can download latest stable & development releases from bibata.live or on Release Page.

Packages

Note If you're having trouble with the packages please submit a request to the package maintainer before creating an issue.

Arch Linux/Manjaro

AUR @yochananmarqos
paru -S bibata-cursor-theme-bin # (recommended)
paru -S bibata-cursor-theme

Or PKGBUILD

Fedora

copr-repo by @peterwu (recommended)
sudo dnf copr enable peterwu/rendezvous
sudo dnf install bibata-cursor-themes
copr-repo by @muhalantabli
sudo dnf copr enable muhalantabli/copr-repo
sudo dnf install bibata-cursor-theme

Installing Bibata Cursor

Linux X11/Wayland

Installation:

tar -xvf Bibata.tar.gz                # extract `Bibata.tar.gz`
mv Bibata-* ~/.local/share/icons/     # Install to local users
sudo mv Bibata-* /usr/share/icons/    # Install to all users

Uninstallation:

rm ~/.local/share/icons/Bibata-*      # Remove from local users
sudo rm /usr/share/icons/Bibata-*     # Remove from all users

Windows

Installation:

  1. Unzip .zip file
  2. Open unziped directory in Explorer, and right click on install.inf.
  3. Click 'Install' from the context menu, and authorize the modifications to your system.
  4. Open Control Panel > Personalization and Appearance > Change mouse pointers, and select Bibata Cursors.
  5. Click 'Apply'.

Uninstallation:

Run the uninstall.bat script packed with the .zip archive

OR follow these steps:

  1. Go to Registry Editor by typing the same in the start search box.
  2. Expand HKEY_CURRENT_USER folder and expand Control Panel folder.
  3. Go to Cursors folder and click on Schemes folder - all the available custom cursors that are installed will be listed here.
  4. Right Click on the name of cursor file you want to uninstall; for eg.: Bibata Cursors and click Delete.
  5. Click 'yes' when prompted.

Build From Source

Prerequisites

  • Python version 3.7 or higher
  • clickgen>=2.1.8 (pip install clickgen)
  • yarn

Quick start

  1. Install build prerequisites on your system
  2. git clone https://github.com/ful1e5/Bibata_Cursor
  3. cd Bibata_Cursor
  4. yarn install
  5. yarn generate
  6. See Installing Bibata Cursor.

Getting Started

Once you have the build prerequisites installed, You can personalize colors, customize sizes, change target platforms, and more. This process involves using external tools, as this repository only contains SVG files and configuration for these tools:

  • cbmp: Used for customizing colors and generating PNG files.
  • ctgen: Used for customizing sizes and building XCursor and Windows Cursors.

You can refer to the README of each tool for more information on their command-line options.

Crafting Your Bibata

https://bibata.live simplifies the personalization of cursor themes, making it easy and accessible for users. With bibata, you can enhance your cursor experience effortlessly. Best of all, it's available for free, allowing you to enjoy a customized bibata cursor theme tailored to your preferences.

The process of creating custom cursor themes involves two main steps:

  1. Rendering SVG files to PNG files.
  2. Building cursor themes from PNG files.

Customize Colors

cbmp provides three options for changing colors:

  1. -bc: Base color, which replaces the #00FF00 color in the SVG.
  2. -oc: Outlined color, which replaces the #0000FF color in the SVG.
  3. -wc (optional): Watch Background color, which replaces the #FF0000 color in the SVG.
npx cbmp [...] -bc '<hex>' -oc '<hex>' -wc '<hex>'

Alternatively, you can provide a JSON configuration file to render SVG files, which contains a sequence of cbmp commands:

npx cbmp render.json

Customize Sizes

Customize Windows Cursor size

To build Windows cursor with size 16:

ctgen build.toml -s 16 -p windows -d 'bitmaps/Bibata-Modern-Ice' -n 'Bibata-Modern-Ice' -c 'White and rounded egde bibata cusors with size 16'

You can also customize output directory with -o option:

ctgen build.toml -s 16 -p windows -d 'bitmaps/Bibata-Modern-Ice' -o 'out' -n 'Bibata-Modern-Ice' -c 'White and rounded egde Bibata cursors with size 16'
Customize XCursor size

To build XCursor with size 16:

ctgen build.toml -s 16 -p x11 -d 'bitmaps/Bibata-Modern-Ice' -n 'Bibata-Modern-Ice' -c 'White and rounded egde Bibata cursors with size 16'

You can also assign multiple sizes to ctgen for XCursors build:

ctgen build.toml -s 16 18 24 32 -p x11 -d 'bitmaps/Bibata-Modern-Ice' -n 'Bibata-Modern-Ice' -c 'Custom white and rounded egde Bibata cursors'

Examples

Lets generate Bibata-Modern with green and black colors:

npx cbmp -d 'svg/modern' -o 'bitmaps/Bibata-Hacker' -bc '#00FE00' -oc '#000000'

After rendering custom color you have to build cursor through ctgen:

ctgen build.toml -d 'bitmaps/Bibata-Hacker' -n 'Bibata-Hacker' -c 'Green and Black Bibata cursors.'

Afterwards, Generated theme can be found in the themes directory.

Bibata Gruvbox
npx cbmp -d 'svg/original' -o 'bitmaps/Bibata-Gruvbox' -bc '#282828' -oc '#EBDBB2' -wc '#000000'
ctgen build.toml -d 'bitmaps/Bibata-Gruvbox' -n 'Bibata-Gruvbox' -c 'Groovy Bibata cursors.'
Bibata Solarized Dark
npx cbmp -d 'svg/original' -o 'bitmaps/Bibata-Solarized-Dark' -bc '#002b36' -oc '#839496' -wc '#000000'
ctgen build.toml -d 'bitmaps/Bibata-Solarized-Dark' -n 'Bibata-Solarized-Dark' -c 'Solarized Dark Bibata cursors.'
Bibata Solarized Light
npx cbmp -d 'svg/original' -o 'bitmaps/Bibata-Solarized-Light' -bc '#839496' -oc '#002b36'
ctgen build.toml -d 'bitmaps/Bibata-Solarized-Light' -n 'Bibata-Solarized-Light' -c 'Solarized Light Bibata cursors.'
Bibata Dracula
npx cbmp -d 'svg/original' -o 'bitmaas/Bibata-Dracula' -bc '#282a36' -oc '#f8f8f2'
ctgen build.toml -d 'bitmaps/Bibata-Dracula' -n 'Bibata-Dracula' -c 'Dracula Bibata cursors.'

You may also like...

  • Bibata - The place where Bibata's cursor gets personalized.
  • Bibata Adapta - Bibata Based Cursor Made for AdaptaBreath and Manjaro.
  • Bibata Translucent - Bibata translucent is a translucent flavor of the Bibata.

Testing Cursor

There are several websites that allow you to test your cursor states by hovering over buttons. This can be very useful when developing or verifying the behavior of a cursor. The following websites cover many of the most commonly used cursors, although they may not include all available options.

For a blueprint for creating XCursors, you may also want to refer to Cursor-demo.

Credit

Wedge Loading Animation · Adwaita · Dmz · Yaru