Bibata_Cursor/README.md

376 lines
9.4 KiB
Markdown
Raw Normal View History

2020-09-05 01:19:03 -04:00
<!-- Branding -->
2020-08-13 00:10:25 -04:00
<p align="center">
2020-10-02 08:29:04 -04:00
<img src="https://imgur.com/cfkawDi.png" width="40%">
2020-08-13 00:10:25 -04:00
</p>
<p align="center">
2020-10-02 08:15:24 -04:00
<b>Material Based Cursors</b> 🚀
2020-08-13 00:10:25 -04:00
</p>
2019-11-12 23:48:09 -05:00
2020-08-13 00:10:25 -04:00
<!-- Badges -->
2019-11-12 23:48:09 -05:00
<p align="center">
2020-08-13 00:10:25 -04:00
<!-- First Row -->
2020-09-05 08:29:29 -04:00
2020-11-14 06:43:16 -05:00
<a href="https://github.com/ful1e5/Bibata_Cursor/actions?query=workflow%3Abibata-ci">
2020-11-14 07:01:14 -05:00
<img alt="GitHub Action Build" src="https://github.com/ful1e5/Bibata_Cursor/workflows/bibata-ci/badge.svg"/>
2020-09-05 08:29:29 -04:00
</a>
<a href="https://www.codefactor.io/repository/github/ful1e5/bibata_cursor">
<img src="https://www.codefactor.io/repository/github/ful1e5/bibata_cursor/badge" alt="CodeFactor" />
</a>
<!-- Second Row -->
</br >
<a href="https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html">
<img alt="npm type definitions" src="https://img.shields.io/npm/types/typescript">
</a>
<a href="https://github.com/ful1e5/clickgen">
<img alt="Clickgen" src="https://img.shields.io/badge/theme%20builder-clickgen-FD0542" />
</a>
2020-08-13 00:10:25 -04:00
2020-09-05 08:29:29 -04:00
<!-- Third Row -->
</br >
2020-10-01 00:33:27 -04:00
<a href="https://github.com/ful1e5/Bibata_Cursor/blob/main/LICENSE" >
2020-08-13 00:10:25 -04:00
<img alt="License" src="https://img.shields.io/github/license/ful1e5/Bibata_Cursor?color=0081FB" />
</a>
2020-11-14 06:51:42 -05:00
<a href="https://github.com/ful1e5/Bibata_Cursor/releases" >
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/v/release/ful1e5/Bibata_Cursor">
2020-08-13 00:10:25 -04:00
</a>
<a href="https://aur.archlinux.org/packages/bibata-cursor-theme" >
<img alt="AUR version" src="https://img.shields.io/aur/version/bibata-cursor-theme">
</a>
2020-09-05 08:29:29 -04:00
2020-09-05 08:34:14 -04:00
<!-- Fourth Row -->
2020-09-05 08:29:29 -04:00
2020-08-13 00:10:25 -04:00
<br />
2020-09-05 08:29:29 -04:00
<a href="https://www.pling.com/p/1197198/#files-panel">
<img alt="License" src="https://img.shields.io/badge/-Linux-grey?logo=linux" />
2020-09-05 01:01:06 -04:00
</a>
2020-09-05 08:29:29 -04:00
<a href="https://www.pling.com/p/1197198/#files-panel">
<img alt="License" src="https://img.shields.io/badge/-Windows-blue?logo=windows" />
</a>
2020-09-05 08:34:14 -04:00
<!-- Fifth Row -->
2020-09-05 08:29:29 -04:00
<br />
2020-08-13 00:10:25 -04:00
<a href="https://github.com/ful1e5">
<img alt="Made By Kaiz" src="https://kaiz.vercel.app/api/badge" width="133" />
</a>
2020-09-05 08:29:29 -04:00
2019-11-12 23:48:09 -05:00
</p>
2018-10-21 10:28:46 -04:00
2020-08-13 00:22:03 -04:00
---
2018-10-13 03:51:42 -04:00
2020-09-19 07:31:18 -04:00
# Bibata ?
2020-09-05 00:47:47 -04:00
2020-08-13 02:28:01 -04:00
Bibata is **OpenSource**, Compact and Material Designed Cursor set. This project masterelop for improve `Cursor` Experience.
2021-03-04 07:02:53 -05:00
- **Bibata Amber :** Yellowish Theme.
- **Bibata Classic :** Solid Black Theme.
- **Bibata Ice :** Light Theme.
2020-11-14 07:01:14 -05:00
2020-09-19 07:31:18 -04:00
## Bibata Styles
2020-09-05 07:47:31 -04:00
2021-03-04 07:02:53 -05:00
- **Bibata Original :** Sharp edge Bibata Cursors
- **Bibata Modern :** Round edge Bibata Cursors
2020-09-05 07:47:31 -04:00
2020-09-19 07:31:18 -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>
2020-09-19 07:31:18 -04:00
## 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)
2020-11-14 06:39:26 -05:00
<!-- Preview -->
## 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)
2020-11-14 06:39:26 -05:00
<p align="center">
2021-02-26 06:57:16 -05:00
<img title="Bibata Amber" width="90%" src="https://i.imgur.com/2DEYWDC.png">
2020-11-14 06:39:26 -05:00
</br>
<sub>Bibata Amber</sub>
</p>
<p align="center">
2021-02-26 06:57:16 -05:00
<img title="Bibata Classic" width="90%" src="https://i.imgur.com/C8mMQ3j.png">
2020-11-14 06:39:26 -05:00
</br>
<sub>Bibata Classic</sub>
</p>
<p align="center">
2021-02-26 06:57:16 -05:00
<img title="Bibata Ice" width="90%" src="https://i.imgur.com/ovzTw6u.png">
2020-11-14 06:39:26 -05:00
</br>
<sub>Bibata Ice</sub>
</p>
2020-09-19 07:31:18 -04:00
## Quick install
2020-09-05 01:02:13 -04:00
2020-09-19 07:42:42 -04:00
<p align="center">
2020-09-19 08:23:23 -04:00
<a href="https://www.pling.com/p/1197198/" >
2020-09-19 07:46:57 -04:00
<img title="Bibata Pling Store" width="40%" src="https://imgur.com/VxSgrWw.png">
2020-09-19 07:44:36 -04:00
</a>
2020-09-19 07:42:42 -04:00
</p>
2020-09-19 07:31:18 -04: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-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
Pamac command:
```bash
pamac build bibata-cursor-theme
pamac build bibata-cursor-theme-bin # pre-built binary
2020-09-05 03:40:59 -04:00
```
Yay command:
```bash
yay -S bibata-cursor-theme
yay -S bibata-cursor-theme-bin # pre-built binary
2020-09-05 03:40:59 -04:00
```
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
**Enable the repo:**
2021-02-26 06:57:16 -05:00
2020-11-21 22:55:52 -05:00
```bash
sudo dnf copr enable peterwu/rendezvous
```
**Installation command:**
```bash
sudo dnf install bibata-cursor-themes
```
#### copr-repo by @muhalantabli
**Enable the repo:**
2020-09-05 03:40:59 -04:00
```bash
sudo dnf copr enable muhalantabli/copr-repo
```
2020-11-21 22:55:52 -05:00
**Installation command:**
2020-09-05 03:40:59 -04:00
```bash
sudo dnf install bibata-cursor-theme
```
2020-09-19 07:31:18 -04:00
## Manual Install
2020-09-05 01:12:54 -04:00
2020-09-05 08:07:56 -04:00
Latest `Stable` & `Development` releases can be downloaded from [Here](https://github.com/ful1e5/Bibata_Cursor/releases)
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**'.
2020-09-05 03:40:59 -04:00
<!-- Build Dependencies -->
2018-09-03 07:38:53 -04:00
2020-09-05 03:40:59 -04:00
# Dependencies
2019-11-12 23:48:09 -05:00
2021-02-26 06:57:16 -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-03-04 07:02:53 -05:00
- [clickgen](https://pypi.org/project/clickgen/s)
2020-08-13 00:43:32 -04:00
2020-09-05 03:45:34 -04:00
## Build From Scratch
### ⚡ Auto Build (using GitHub Actions)
2020-11-14 07:25:52 -05: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](https://github.com/ful1e5/Bibata_Cursor/tree/main/.github/workflows) directory.
2020-09-05 03:45:34 -04:00
### Manual Build
2021-02-26 06:57:16 -05:00
> 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
2020-10-02 07:03:29 -04:00
<!-- Other Interesting projects -->
2019-11-13 00:01:11 -05:00
2020-09-19 07:31:18 -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 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
2020-09-05 03:40:59 -04:00
<!-- Bug Report -->
2018-09-03 07:38:53 -04:00
2020-09-05 03:40:59 -04:00
# Bugs
2018-09-03 07:38:53 -04:00
2020-11-14 06:51:42 -05:00
Bugs 🐛 should be reported [here](https://github.com/ful1e5/Bibata_Cursor/issues) on the Github issues page.
2018-09-03 07:38:53 -04:00
2020-09-05 03:40:59 -04:00
<!-- Help -->
2018-09-03 07:38:53 -04:00
2020-09-05 03:40:59 -04:00
# Getting Help
2018-09-03 07:38:53 -04:00
2020-09-05 03:40:59 -04:00
You can create a **issue**, I will help you. 🙂
<!-- Contributions and Suggestion -->
# Contributing
2018-09-03 07:38:53 -04:00
2020-09-05 03:40:59 -04:00
Check [CONTRIBUTING.md](CONTRIBUTING.md), any suggestions for features and contributions to the continuing code masterelopment can be made via the issue tracker or code contributions via a `Fork` & `Pull requests`.
<!-- This project isn't possible without these 👇🏻-->
2018-09-03 07:38:53 -04:00
2020-09-19 07:31:18 -04:00
# Credit
2018-10-21 10:13:55 -04:00
2021-03-04 07:02:53 -05:00
- [Adwaita](https://github.com/GNOME/adwaita-icon-theme)
- [Dmz](https://github.com/GalliumOS/dmz-cursor-theme)
- [Yaru](https://github.com/ubuntu/yaru)
- Emojis are taken from [here](https://emojipedia.org/)
- Wedge loading from [loading.io](https://loading.io/spinner/wedges/-pie-wedge-pizza-circle-round-rotate) with **Microsoft** colors
2019-10-20 06:14:35 -04:00
2020-09-05 03:40:59 -04:00
<!-- Support -->
2020-09-19 07:31:18 -04:00
# Support
2018-10-15 11:40:03 -04:00
2020-08-13 00:10:25 -04:00
<a href="https://www.buymeacoffee.com/Nt7Wg4V" >
2020-08-13 00:34:13 -04:00
<img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" >
2019-11-17 22:40:31 -05:00
</a>
2018-10-15 11:40:03 -04:00
2020-08-13 00:34:13 -04:00
<!-- Ninja -->
2019-11-12 23:48:09 -05:00
<p align="center">
2020-08-13 01:09:53 -04:00
<h1 align="center">(◣_◢)</h1>
</p>
<p align="center">
2020-10-03 04:56:02 -04:00
<sub>Stop <strong>scrolling</strong>, It's <strong>hurt</strong> me</sub>
2018-09-03 07:38:53 -04:00
</p>