apple_cursor/README.md

306 lines
8.4 KiB
Markdown
Raw Normal View History

2020-07-29 08:13:04 -04:00
<!-- Branding -->
<p align="center">
2020-08-31 01:04:42 -04:00
<img src="https://i.imgur.com/GVLFmwF.png" width="120" alt="macOS Big Sur" />
2020-07-29 08:13:04 -04:00
</p>
<p align="center">
🍎 macOS Cursor Theme
</p>
<!-- Badges -->
<p align="center">
2020-08-06 01:53:00 -04:00
<!-- First Row -->
2020-08-05 00:11:22 -04:00
<a href="https://github.com/ful1e5/apple_cursor/actions?query=workflow%3Abuild">
2020-08-06 01:53:00 -04:00
<img alt="GitHub Action Build" src="https://github.com/ful1e5/apple_cursor/workflows/build/badge.svg" width="102" />
2020-07-29 08:13:04 -04:00
</a>
2020-08-06 03:12:53 -04:00
2020-08-06 01:53:00 -04:00
<a href="https://www.codefactor.io/repository/github/ful1e5/apple_cursor">
2020-08-06 03:12:53 -04:00
<img alt="CodeFactor" src="https://www.codefactor.io/repository/github/ful1e5/apple_cursor/badge" />
2020-08-06 01:53:00 -04:00
</a>
<!-- Second Row -->
2020-08-06 03:12:53 -04:00
</br >
2020-08-06 03:17:35 -04:00
<a href="https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html">
2020-08-06 03:12:53 -04:00
<img alt="npm type definitions" src="https://img.shields.io/npm/types/typescript">
</a>
2020-08-06 03:17:35 -04:00
<a href="https://github.com/puppeteer/puppeteer/">
2020-08-06 03:12:53 -04:00
<img alt="Puppeteer version" src="https://img.shields.io/github/package-json/dependency-version/ful1e5/apple_cursor/puppeteer">
</a>
<a href="https://github.com/ful1e5/clickgen">
2020-08-06 07:42:42 -04:00
<img alt="Clickgen" src="https://img.shields.io/badge/theme%20builder-clickgen-FD0542" />
2020-08-06 03:12:53 -04:00
</a>
2020-08-06 23:56:01 -04:00
2020-08-06 03:12:53 -04:00
<!-- Second Row -->
<br />
<a href="https://github.com/ful1e5/apple_cursor/releases">
<img alt="Apple Cursor release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/ful1e5/apple_cursor?include_prereleases" />
</a>
2020-10-01 00:38:10 -04:00
<a href="https://github.com/ful1e5/apple_cursor/blob/main/LICENSE">
2020-08-06 03:12:53 -04:00
<img alt="License" src="https://img.shields.io/github/license/ful1e5/apple_cursor?color=0081FB" />
</a>
<!-- Third Row -->
2020-08-06 23:56:01 -04:00
<br />
<a href="https://www.pling.com/p/1408466#files-panel">
<img alt="License" src="https://img.shields.io/badge/-Linux-grey?logo=linux" />
</a>
<a href="https://www.pling.com/p/1408466#files-panel">
<img alt="License" src="https://img.shields.io/badge/-Windows-blue?logo=windows" />
</a>
<a href="https://www.python.org/">
<img alt="License" src="https://img.shields.io/badge/-Python-yellow?logo=python" />
</a>
<!-- Fourth Row -->
2020-08-06 01:53:00 -04:00
<br />
2020-08-05 00:11:22 -04:00
<a href="https://github.com/ful1e5">
2020-08-06 03:12:53 -04:00
<img alt="Made By Kaiz" src="https://kaiz.vercel.app/api/badge" width="133" />
2020-08-03 01:03:54 -04:00
</a>
2020-07-29 08:13:04 -04:00
</p>
2020-08-06 08:30:49 -04:00
---
2020-08-06 09:03:32 -04:00
<!-- Intro -->
# Apple Cursor
2021-01-30 10:07:13 -05:00
Enjoy **[macOS Big Sur](https://www.apple.com/macos/big-sur-preview/)** Cursor Theme for `Windows` and `Linux` with _HiDPI Support_ 🎉.
2020-08-06 09:03:32 -04:00
2020-08-11 07:03:04 -04:00
<!-- Table Of Content -->
2020-08-11 04:31:28 -04:00
<details>
<summary><strong>Table of Contents</strong> (click to expand)</summary>
2021-01-30 10:07:13 -05:00
- [Apple Cursor](#apple-cursor)
2021-01-25 06:51:29 -05:00
- [Cursor Sizes](#cursor-sizes)
- [Colors](#colors)
- [Quick install](#quick-install)
2021-01-30 10:07:13 -05:00
- [Manual Install](#manual-install)
- [Linux/X11](#linuxx11)
- [Windows](#windows)
- [Preview:](#preview)
- [Dependencies](#dependencies)
- [External Libraries](#external-libraries)
- [Install External Libraries](#install-external-libraries)
- [macOS](#macos)
- [Debain/ubuntu](#debainubuntu)
- [ArchLinux/Manjaro](#archlinuxmanjaro)
- [Fedora/Fedora Silverblue/CentOS/RHEL](#fedorafedora-silverbluecentosrhel)
- [Build Dependencies](#build-dependencies)
- [Node Packages](#node-packages)
- [PyPi Packages](#pypi-packages)
- [Build From Scratch](#build-from-scratch)
- [⚡ Auto Build (using GitHub Actions)](#-auto-build-using-github-actions)
- [Manual Build](#manual-build)
- [Build & Install only `XCursor` theme](#build--install-only-xcursor-theme)
- [Build & Install only `Windows` theme](#build--install-only-windows-theme)
- [Bugs](#bugs)
- [Getting Help](#getting-help)
- [Contributing](#contributing)
- [Support](#support)
2020-08-11 04:31:28 -04:00
</details>
2020-08-11 07:48:57 -04:00
#### Cursor Sizes
2020-10-23 03:00:20 -04:00
<kbd>22</kbd>
2020-08-11 07:48:57 -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-11 23:36:17 -04:00
![#13A3F5](https://imgur.com/m0JhD7W.png)
![#4DCB2C](https://imgur.com/wtyqDHv.png)
![#FED103](https://imgur.com/5km5GW6.png)
![#FE9D0C](https://imgur.com/Gx2eGbm.png)
![#F2493C](https://imgur.com/hl22EPB.png)
![#B75DCC](https://imgur.com/wev8rfw.png)
![#000000](https://imgur.com/24cocpe.png)
![#fffff](https://imgur.com/YyhMKNT.png)
2020-08-11 07:48:57 -04:00
2020-08-09 08:31:53 -04:00
#### Quick install
2020-10-23 02:39:24 -04:00
<p align="center">
<a href="https://www.pling.com/p/1408466/" >
<img title="Bibata Pling Store" width="40%" src="https://imgur.com/VxSgrWw.png">
</a>
</p>
2020-08-09 08:31:53 -04:00
2020-08-11 08:00:57 -04:00
### Manual Install
2020-08-11 07:48:57 -04:00
#### Linux/X11
```bash
2020-08-30 07:54:08 -04:00
# extract `macOSBigSur.tar.gz`
tar -xvf macOSBigSur.tar.gz
2020-08-12 07:01:03 -04:00
2020-08-11 07:48:57 -04:00
# For local users
mv macOSBigSur ~/.icons/
2020-08-12 07:01:03 -04:00
2020-08-11 07:48:57 -04:00
# For all users
sudo mv macOSBigSur /usr/share/icons/
```
2020-08-10 02:29:18 -04:00
#### Windows
1. unzip `macOSBigSur_Windows.zip` file
2. Open `macOSBigSur_Windows/` in Explorer, and **right click** on `install.inf`.
2020-10-23 02:39:24 -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 **MacOSBigSur Cursors**.
2020-08-10 02:29:18 -04:00
5. Click '**Apply**'.
2020-08-07 09:08:30 -04:00
#### Preview:
2020-10-01 00:38:10 -04:00
> Detailed Cursors Informations inside [src/svgs/README.md](https://github.com/ful1e5/apple_cursor/blob/main/src/svg/README.md)
2020-08-08 00:20:09 -04:00
2020-08-07 09:04:59 -04:00
<!-- Preview -->
<p align="center">
2020-11-01 01:08:30 -04:00
<img title="macOS Big Sur" src="https://imgur.com/Hrd64DF.png">
2020-08-07 09:04:59 -04:00
</br>
2020-08-11 08:02:20 -04:00
<sub>macOSBigSur Cursors 🍎</sub>
2020-08-07 09:04:59 -04:00
</p>
2020-08-06 08:30:49 -04:00
<!-- Build Dependencies -->
2020-08-06 09:03:32 -04:00
# Dependencies
2020-08-06 08:30:49 -04:00
2021-01-25 06:51:29 -05:00
## External Libraries
2020-08-06 08:45:14 -04:00
2021-01-25 06:51:29 -05:00
- libxcursor
- libx11
- libpng (<=1.6)
2020-08-06 08:45:14 -04:00
2021-01-25 06:51:29 -05:00
#### Install External Libraries
2020-08-06 08:45:14 -04:00
##### macOS
```bash
2021-01-25 06:51:29 -05:00
brew install --cask xquartz
2021-01-30 07:27:07 -05:00
brew install libpng
```
2020-08-06 08:45:14 -04:00
##### Debain/ubuntu
```bash
sudo apt install libx11-dev libxcursor-dev libpng-dev
2020-08-06 08:45:14 -04:00
```
##### ArchLinux/Manjaro
```bash
sudo pacman -S libx11 libxcursor libpng
2020-08-06 08:45:14 -04:00
```
##### Fedora/Fedora Silverblue/CentOS/RHEL
```bash
sudo dnf install libx11-devel libxcursor-devel libpng-devel
2020-08-06 08:45:14 -04:00
```
2020-08-06 09:10:07 -04:00
2020-08-07 00:26:57 -04:00
## Build Dependencies
2020-08-06 09:10:07 -04:00
2021-01-30 07:27:07 -05:00
- [gcc](https://gcc.gnu.org/install/)
- [make](https://www.gnu.org/software/make/)
- [nodejs](https://nodejs.org/en/) (<=12.x.x)
2021-01-25 06:51:29 -05:00
- [yarn](https://classic.yarnpkg.com/en/docs/install/)
2021-01-30 07:27:07 -05:00
- [python](https://www.python.org/downloads/) (<=3.8)
- [pip3](https://pip.pypa.io/en/stable/installing/)
### Node Packages
- [puppeteer](https://www.npmjs.com/package/puppeteer)
2020-08-30 02:06:56 -04:00
- [pngjs](https://www.npmjs.com/package/pngjs)
- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
### PyPi Packages
- [clickgen](https://pypi.org/project/clickgen/s)
2020-08-07 01:08:37 -04:00
2020-08-11 07:22:42 -04:00
## Build From Scratch
2020-08-07 08:41:30 -04:00
### ⚡ Auto Build (using GitHub Actions)
2021-01-30 07:27:07 -05:00
GitHub Actions is automatically runs on every `push`(on **main** and **dev** branches) and `pull request`(on **main** branch), You found theme resources in `artifact` section of **build**.GitHub **Actions** source is available inside [.github/workflows](https://github.com/ful1e5/apple_cursor/tree/main/.github/workflows) directory.
2020-08-07 08:41:30 -04:00
2020-08-11 07:22:42 -04:00
### Manual Build
2020-08-07 08:41:30 -04:00
2020-08-12 01:32:47 -04:00
```bash
2021-01-30 07:41:55 -05:00
make
2020-08-12 01:32:47 -04:00
```
2021-01-30 10:07:13 -05:00
#### Build & Install only `XCursor` theme
2020-08-12 01:32:47 -04:00
2021-01-30 07:41:55 -05:00
```bash
make unix
2021-01-30 10:07:13 -05:00
make install
# OR
sudo make install # install as root
2021-01-30 07:41:55 -05:00
```
2020-08-12 01:32:47 -04:00
2021-01-30 10:07:13 -05:00
#### Build & Install only `Windows` theme
2020-08-12 01:32:47 -04:00
```bash
2021-01-30 07:41:55 -05:00
make windows
2020-08-12 01:32:47 -04:00
```
2021-01-30 10:07:13 -05:00
> For double click installation, Check [this](#windows).
2020-08-07 08:41:30 -04:00
2021-01-30 10:07:13 -05:00
1. Open the `settings` app.
2. **Goto** `Devices` -> `Mouse` -> `Additional Mouse Options`.
3. **Goto** the `pointers` tab.
4. Replace each cursor in the currently applied cursor set with the corresponding cursor in the `macOSBigSur_Windows` folder.
5. Click "**save as**" and type in the desired name.
6. Click "**apply**" and "**ok**".
2020-08-10 02:29:18 -04:00
2020-08-07 09:04:59 -04:00
<!-- Bug Report -->
# Bugs
Bugs 🐛 should be reported [here](https://github.com/ful1e5/apple_cursor/issues) on the Github issues page.
<!-- Help -->
# Getting Help
You can create a **issue**, I will help you. 🙂
2020-08-07 23:08:21 -04:00
<!-- Contributions and Suggestion -->
2020-08-11 04:31:28 -04:00
# Contributing
2020-08-07 23:08:21 -04:00
2020-08-11 07:03:04 -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`.
2020-08-07 23:08:21 -04:00
2020-08-07 09:04:59 -04:00
<!-- Support -->
## Support
Give a **★** or Follow on [GitHub](https://github.com/ful1e5),That's work as **Steroid 💉** for me. 😉
> For more support
<a href="https://www.buymeacoffee.com/Nt7Wg4V" target="_blank">
2020-08-08 08:37:54 -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;" >
2020-08-07 09:04:59 -04:00
</a>
<!-- Ninja -->
<h1 align="center">
( `ω´ )۶▬ι═══════ﺤ
</h1>
2020-08-07 22:31:57 -04:00
<p align="center">
<sub>I'm Using Katana </sub>
</p>