apple_cursor/README.md

287 lines
8.2 KiB
Markdown
Raw Normal View History

2020-07-29 08:13:04 -04:00
<!-- Branding -->
<p align="center">
2020-07-29 08:38:58 -04:00
<img src="https://imgur.com/17W62gp.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>
<a href="https://github.com/ful1e5/apple_cursor/blob/master/LICENSE">
<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
2020-08-08 00:20:09 -04:00
Enjoy upcoming **[macOS BigSur](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>
- [Apple Cursor](#apple-cursor)
- [Linux Install](#quick-install)
- [Windows Install](#windows)
- [Cursor Sizes](#cursor-sizes)
- [Colors](#colors)
- [Cursors Preview](#preview)
- [Dependencies](#dependencies)
- [Runtime Dependencies](#runtime-dependencies)
- [Build Dependencies](#build-dependencies)
- [Install](#install)
- [Basic Installation](basic-installation)
- [Manual Installation](#manual-install)
- [Bugs](#bugs)
- [Getting Help](#getting-help)
2020-08-11 07:03:04 -04:00
- [Contributing](#contributing)
2020-08-11 04:31:28 -04:00
- [Support ✨](#support)
</details>
2020-08-09 08:31:53 -04:00
#### Quick install
##### via curl
```bash
2020-08-11 04:04:26 -04:00
bash <(curl -s "https://raw.githubusercontent.com/ful1e5/apple_cursor/master/scripts/install.sh")
2020-08-09 08:31:53 -04:00
```
##### via wget
```bash
2020-08-11 04:04:26 -04:00
bash <(wget -qO- "https://raw.githubusercontent.com/ful1e5/apple_cursor/master/scripts/install.sh")
2020-08-09 08:31:53 -04:00
```
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`.
3. Click 'Install' from the context menu, and authorise the modifications to your system.
4. Open _Control Panel > Personalisation and Appearance > Change mouse pointers_, and select **MacOSBigSur Cursors**.
5. Click '**Apply**'.
2020-08-11 04:31:28 -04:00
#### Cursor Sizes
24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96
2020-08-07 00:26:57 -04:00
2020-08-11 04:31:28 -04:00
#### Colors
2020-08-07 00:26:57 -04:00
2020-08-11 04:04:26 -04:00
- ![#000000](https://placehold.it/15/000/000000?text=+) `#000000vim.searchHighlightColor`
2020-08-07 00:26:57 -04:00
- ![#fffff](https://placehold.it/15/fff/000000?text=+) `#fffff`
- ![#13A3F5](https://placehold.it/15/13A3F5/000000?text=+) `#13A3F5`
- ![#4DCB2C](https://placehold.it/15/4DCB2C/000000?text=+) `#4DCB2C`
- ![#FED103](https://placehold.it/15/FED103/000000?text=+) `#FED103`
- ![#FE9D0C](https://placehold.it/15/FE9D0C/000000?text=+) `#FE9D0C`
- ![#F2493C](https://placehold.it/15/F2493C/000000?text=+) `#F2493C`
- ![#B75DCC](https://placehold.it/15/B75DCC/000000?text=+) `#B75DCC`
2020-08-06 09:03:32 -04:00
2020-08-07 09:08:30 -04:00
#### Preview:
2020-08-08 00:20:09 -04:00
> Detailed Cursors Informations inside [src/svgs/README.md](https://github.com/ful1e5/apple_cursor/blob/master/src/svg/README.md)
2020-08-07 09:04:59 -04:00
<!-- Preview -->
<p align="center">
2020-08-07 09:08:30 -04:00
<img title="macOS Big Sur" src="https://imgur.com/BA0gkrO.png">
2020-08-07 09:04:59 -04:00
</br>
<sub>macOS Big Sur</sub>
</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
2020-08-06 08:45:14 -04:00
## Runtime Dependencies
- libxcursor-dev
- libx11-dev
- libpng-dev (<=1.6)
2020-08-06 09:03:01 -04:00
#### Install Runtime Dependencies
2020-08-06 08:45:14 -04:00
##### Debain/ubuntu
```bash
sudo apt install libx11-dev libxcursor-dev libpng-dev
```
##### ArchLinux/Manjaro
```bash
sudo pacman -S libx11 libxcursor libpng
```
##### Fedora/Fedora Silverblue/CentOS/RHEL
```bash
sudo dnf install libx11-devel libxcursor-devel libpng-devel
```
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
2020-08-06 23:17:53 -04:00
- nodejs (<=12.x.x)
- yarn
- python (<=3.6)
- pip3
2020-08-07 01:08:37 -04:00
2020-08-07 08:41:30 -04:00
<!-- Install -->
2020-08-07 01:08:37 -04:00
# Install
## Basic Installation
Download latest `stable` & `development` from [here](https://github.com/ful1e5/apple_cursor/releases) according to your **OS**.
### Linux/X11
2020-08-07 09:12:09 -04:00
<!-- Install Video -->
2020-08-07 09:14:17 -04:00
<!-- <p align="center">
2020-08-07 09:12:09 -04:00
<video src="https://i.imgur.com/zIF1JkH.mp4" width="75%" autoplay loop preload></video>
2020-08-07 09:14:17 -04:00
</p> -->
2020-08-07 01:08:37 -04:00
```bash
2020-08-07 09:12:09 -04:00
# Unpack
mkdir macOSBigSur && tar -xvf macOSBigSur.tar -C macOSBigSur
# For local users
2020-08-07 01:08:37 -04:00
mv macOSBigSur ~/.icons/
2020-08-07 09:12:09 -04:00
# For all users
2020-08-07 01:08:37 -04:00
sudo mv macOSBigSur /usr/share/icons/
```
2020-08-11 04:31:28 -04:00
## Manual Installation
2020-08-07 08:41:30 -04:00
> Make sure you have installed all [Build dependencies](#build-dependencies).
### ⚡ Auto Build (using GitHub Actions)
2020-08-08 07:06:09 -04:00
GitHub Actions is automatically runs on every `push`(on **master** and **dev** branches) and `pull request`(on **master** branch), You found theme resources in `artifact` section of **build**.GitHub **Actions** available inside [.github/workflows](https://github.com/ful1e5/apple_cursor/tree/master/.github/workflows) directory.
2020-08-07 08:41:30 -04:00
### Build
```bash
# This command setup python virtual environment && install all packages
yarn setup
# Build & Unpack built cursor theme
yarn compile && yarn unpack
```
After build `bitmaps` and `packages` are generated at project root directory.
### Install Build Cursor
2020-08-10 02:29:18 -04:00
#### Linux
2020-08-07 08:41:30 -04:00
All builded cursor packages are available inside `packages` directory.
```bash
cd ./packages
# Unpack .tar archive
mkdir macOSBigSur && tar -xvf macOSBigSur.tar -C macOSBigSur
# clean old version & install new build version to local user (recommended)
rm -rf ~/.icons/macOSBigSur && cp macOSBigSur ~/.icons/
```
2020-08-07 09:04:59 -04:00
2020-08-10 02:29:18 -04:00
#### Windows
1. unzip `macOSBigSur_Windows.zip` file
2. Open the `settings` app.
3. **Goto** `Devices` -> `Mouse` -> `Additional Mouse Options`.
4. **Goto** the `pointers` tab.
5. Replace each cursor in the currently applied cursor set with the corresponding cursor in the `macOSBigSur Windows Theme` folder.
6. Click "**save as**" and type in the desired name.
7. Click "**apply**" and "**ok**".
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>