Bibata_Cursor/README.md

258 lines
6.7 KiB
Markdown
Raw Normal View History

2021-11-20 04:29:40 -05:00
# Bibata Cursor
2020-09-05 01:19:03 -04:00
2021-11-20 04:29:40 -05:00
[![build](https://github.com/ful1e5/Bibata_Cursor/actions/workflows/build.yml/badge.svg)](https://github.com/ful1e5/Bibata_Cursor/actions/workflows/build.yml)
[![Twitter](https://img.shields.io/badge/Notifications-twitter-blue)](https://twitter.com/ful1e5)
2018-10-13 03:51:42 -04:00
Bibata is **OpenSource**, compact, and material designed cursor set. This project masterelop for
improve `Cursor` experience.
2020-08-13 02:28:01 -04:00
**Cursors Themes:**
2020-11-14 07:01:14 -05:00
- **Bibata Original Amber :** Sharp edges yellowish theme.
- **Bibata Modern Amber :** Rounded edges yellowish theme.
- **Bibata Original Classic :** Sharp edges black theme.
- **Bibata Modern Classic :** Rounded edges black theme.
- **Bibata Original Ice :** Sharp edges white theme.
- **Bibata Modern Ice :** Rounded edges white theme.
2020-09-05 07:47:31 -04:00
**Cursor Sizes:**
2020-08-13 02:28:01 -04:00
2020-10-06 03:10:35 -04:00
<kbd>22</kbd>
2020-08-13 02:28:01 -04:00
<kbd>24</kbd>
<kbd>28</kbd>
<kbd>32</kbd>
<kbd>40</kbd>
<kbd>48</kbd>
<kbd>56</kbd>
<kbd>64</kbd>
<kbd>72</kbd>
<kbd>80</kbd>
<kbd>88</kbd>
<kbd>96</kbd>
**Colors:**
2020-08-13 02:28:01 -04:00
2020-09-05 00:47:47 -04:00
![Amber](https://imgur.com/5Jo6MSO.png)
2020-08-13 02:28:01 -04:00
![Classic](https://imgur.com/I5cRKE4.png)
![Ice](https://imgur.com/avnR40g.png)
**Support with $1 or more on GitHub Sponsors.**
2020-08-13 02:28:01 -04:00
## Quick install (Recommended)
2021-11-20 04:29:40 -05:00
Download pre-built binaries on [pling store](https://www.pling.com/p/1197198/)
2020-11-14 06:39:26 -05:00
## Preview
2021-02-26 06:57:16 -05:00
> Check Figma file [here](https://www.figma.com/file/Y9RKZLXhSvaxpUzsKGJkp6/Bibata-Cursor?node-id=0%3A1)
![Bibata Amber](https://i.imgur.com/2DEYWDC.png)
![Bibata Classic](https://i.imgur.com/C8mMQ3j.png)
![Bibata Ice](https://i.imgur.com/ovzTw6u.png)
2020-11-14 06:39:26 -05:00
2021-11-19 05:17:25 -05:00
## Packages
2020-09-05 03:40:59 -04:00
> **Note**: If you're having trouble with the packages please submit a request to the package maintainer
> before creating an issue.
2020-09-05 03:40:59 -04:00
2020-09-19 07:31:18 -04:00
### Arch Linux/Manjaro
2020-09-05 03:40:59 -04:00
Arch Linux/Manjaro users can install from the [AUR](https://aur.archlinux.org/packages/bibata-cursor-theme)
currently maintained by [_@Shatur_](https://aur.archlinux.org/packages/?K=Shatur&SeB=m) &
[_@yochananmarqos_](https://aur.archlinux.org/packages/?K=yochananmarqos&SeB=m).
Can be installed via Pamac (preinstalled in Manjaro), Yay or any other
[AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers).
2020-09-05 03:40:59 -04:00
```bash
yay -S bibata-cursor-theme
```
Alternatively, Bibata binaries can be also installed using the PKGBUILD `bibata-theme-bin`,
available on the AUR.
2020-09-19 07:31:18 -04:00
### Fedora
2020-09-05 03:40:59 -04:00
2020-11-21 22:55:52 -05:00
#### copr-repo by @peterwu (recommended)
2020-09-05 03:40:59 -04:00
2020-11-21 22:55:52 -05:00
```bash
sudo dnf copr enable peterwu/rendezvous
sudo dnf install bibata-cursor-themes
```
#### copr-repo by @muhalantabli
2020-09-05 03:40:59 -04:00
```bash
sudo dnf copr enable muhalantabli/copr-repo
sudo dnf install bibata-cursor-theme
```
2020-09-19 07:31:18 -04:00
## Manual Install
2020-09-05 01:12:54 -04:00
Latest `Stable` & `Development` releases can be downloaded from
[Release Page](https://github.com/ful1e5/Bibata_Cursor/releases).
2020-09-05 08:07:56 -04:00
2020-09-05 01:12:54 -04:00
#### Linux/X11
```bash
# extract `Bibata.tar.gz`
tar -xvf Bibata.tar.gz
# For local users
mv Bibata-* ~/.icons/
2020-09-05 01:12:54 -04:00
# For all users
sudo mv Bibata-* /usr/share/icons/
2020-09-05 01:12:54 -04:00
```
#### Windows
2021-02-26 06:57:16 -05:00
1. unzip `.zip` file
2. Open unziped directory in Explorer, and **right click** on `install.inf`.
2020-10-02 07:03:29 -04:00
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**.
2020-09-05 01:12:54 -04:00
5. Click '**Apply**'.
2022-01-31 04:12:23 -05:00
### Uninstall
#### Linux/X11
```bash
# From local users
rm ~/.icons/Bibata-*
# From all users
sudo rm /usr/share/icons/Bibata-*
```
#### Windows
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`.
2022-01-31 04:12:23 -05:00
5. Click '**yes**' when prompted.
## Dependencies
2019-11-12 23:48:09 -05:00
### External Libraries
2019-11-12 23:48:09 -05:00
2021-03-04 07:02:53 -05:00
- libxcursor-dev
- libx11-dev
- libpng-dev (<=1.6)
2019-11-12 23:48:09 -05:00
2021-02-26 06:57:16 -05:00
#### Install External Libraries
2019-11-12 23:48:09 -05:00
2020-09-05 03:40:59 -04:00
##### macOS
2019-11-13 23:13:32 -05:00
2020-08-13 00:34:13 -04:00
```bash
2021-02-26 06:57:16 -05:00
brew install --cask xquartz
brew install libpng
2019-11-13 23:13:32 -05:00
```
2019-11-12 23:48:09 -05:00
2020-09-05 03:40:59 -04:00
##### Debain/ubuntu
2018-09-03 07:38:53 -04:00
2020-08-13 00:34:13 -04:00
```bash
2020-09-05 03:40:59 -04:00
sudo apt install libx11-dev libxcursor-dev libpng-dev
2019-11-13 23:13:32 -05:00
```
2020-09-05 03:40:59 -04:00
##### ArchLinux/Manjaro
2020-08-13 00:43:32 -04:00
```bash
2020-09-05 03:40:59 -04:00
sudo pacman -S libx11 libxcursor libpng
2020-08-13 00:43:32 -04:00
```
2020-09-05 03:40:59 -04:00
##### Fedora/Fedora Silverblue/CentOS/RHEL
2020-08-13 00:43:32 -04:00
```bash
2020-11-26 23:22:49 -05:00
sudo dnf install libX11-devel libXcursor-devel libpng-devel
2020-08-13 00:43:32 -04:00
```
2020-09-05 03:40:59 -04:00
## Build Dependencies
2020-08-13 00:43:32 -04:00
2021-03-04 07:02:53 -05:00
- [gcc](https://gcc.gnu.org/install/)
- [make](https://www.gnu.org/software/make/)
- [nodejs](https://nodejs.org/en/) (<=12.x.x)
- [yarn](https://classic.yarnpkg.com/en/docs/install/)
- [python](https://www.python.org/downloads/) (<=3.8)
- [pip3](https://pip.pypa.io/en/stable/installing/)
2020-08-13 00:43:32 -04:00
2020-09-05 03:40:59 -04:00
### Node Packages
2020-08-13 00:43:32 -04:00
2021-03-04 07:02:53 -05:00
- [puppeteer](https://www.npmjs.com/package/puppeteer)
- [pngjs](https://www.npmjs.com/package/pngjs)
- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
2020-08-13 00:43:32 -04:00
2020-09-05 03:40:59 -04:00
### PyPi Packages
2020-08-13 00:43:32 -04:00
2021-05-10 14:27:51 -04:00
- [clickgen](https://pypi.org/project/clickgen)
2020-08-13 00:43:32 -04:00
2020-09-05 03:45:34 -04:00
## Build From Scratch
2021-11-19 05:17:25 -05:00
### Auto Build (using GitHub Actions)
2020-09-05 03:45:34 -04:00
GitHub Actions is automatically runs on every `push`(on **main** & **dev** branch) and `pull request`
(on **main** branch), You found theme resources in `artifact` section of **bibata-ci**.
GitHub **Actions** available inside [.github/workflows](./.github/workflows) directory.
2020-09-05 03:45:34 -04:00
### Manual Build
Check **[Makefile](./Makefile)** for more targets.
2020-09-05 03:45:34 -04:00
```bash
2021-02-26 06:57:16 -05:00
make
2020-09-05 03:45:34 -04:00
```
2021-02-26 06:57:16 -05:00
#### Build Only `XCursor` theme
2020-09-05 08:05:43 -04:00
2020-09-05 03:45:34 -04:00
```bash
2021-02-26 06:57:16 -05:00
make unix
2020-09-05 08:05:43 -04:00
```
2021-02-26 06:57:16 -05:00
#### Customize `XCursor` size
2020-09-05 08:05:43 -04:00
```bash
2021-02-26 06:57:16 -05:00
make unix X_SIZES=22 # Only built '22px' pixel-size.
make unix X_SIZES=22 24 32 # Multiple sizes are provided with ' '(Space)
2020-09-05 08:05:43 -04:00
```
2021-02-26 06:57:16 -05:00
#### Install `XCursor` theme
2020-09-05 08:05:43 -04:00
```bash
2021-02-26 06:57:16 -05:00
make install # install as user
# OR
sudo make install # install as root
2020-09-05 08:05:43 -04:00
```
2021-02-26 06:57:16 -05:00
#### Build Only `Windows` theme
2020-09-05 08:05:43 -04:00
```bash
2021-02-26 06:57:16 -05:00
make windows
2020-09-05 03:45:34 -04:00
```
2021-02-26 06:57:16 -05:00
#### Customize `Windows Cursor` size
2020-09-05 03:50:03 -04:00
```bash
2021-02-26 06:57:16 -05:00
make windows WIN_SIZE=96 # Supports only one pixel-size
2020-09-05 03:50:03 -04:00
```
2021-02-26 06:57:16 -05:00
> Windows installations steps are same as [these](#windows).
2020-09-05 03:50:03 -04:00
## You may also like...
2019-11-12 23:48:09 -05:00
2021-03-04 07:02:53 -05:00
- [**Bibata Adapta**](https://gitlab.com/cscs/Bibata_AdaptaBreath_Cursors) - Bibata Based Cursor Made for AdaptaBreath and Manjaro.
- [**Bibata Extra**](https://github.com/ful1e5/Bibata_Extra_Cursor) - More Bibata!
- [**Bibata Rainbow**](https://github.com/ful1e5/Bibata_Cursor_Rainbow) - 'Semi-Animated' Bibata cursors with rainbow colors
- [**Bibata Zebra**](https://github.com/ful1e5/Bibata-Zebra-Cursor) - Bibata cursor with a semi-animated strip
2021-11-02 07:01:44 -04:00
- [**Bibata Bee**](https://github.com/ful1e5/Bibata-Bee-Cursor) - 'Semi-Animated' Bibata cursors with bee stripes
2021-03-04 07:02:53 -05:00
- [**Bibata Translucent**](https://github.com/Silicasandwhich/Bibata_Cursor_Translucent) - Bibata translucent is a translucent flavor of the Bibata.
2018-09-03 07:38:53 -04:00
## Credit
2018-10-21 10:13:55 -04:00
[Loading Animation](https://loading.io/spinner/wedges/-pie-wedge-pizza-circle-round-rotate) ·
[Adwaita](https://github.com/GNOME/adwaita-icon-theme) ·
[Dmz](https://github.com/GalliumOS/dmz-cursor-theme) ·
[Yaru](https://github.com/ubuntu/yaru)