52
.github/workflows/build.yml
vendored
|
@ -19,33 +19,43 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest]
|
||||||
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Setup node
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
node-version: 16
|
||||||
|
|
||||||
- name: Installing pip dependencies
|
- name: Installing Node Dependencies
|
||||||
|
run: |
|
||||||
|
rm -rf node_modules yarn.lock
|
||||||
|
yarn install --frozen-lockfile
|
||||||
|
continue-on-error: false
|
||||||
|
|
||||||
|
- name: Print cbmp version
|
||||||
|
run: npx cbmp --version
|
||||||
|
|
||||||
|
- name: Rendering Bitmaps
|
||||||
|
run: yarn render
|
||||||
|
continue-on-error: false
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: 3.11
|
||||||
|
|
||||||
|
- name: Installing PyPi Dependencies
|
||||||
run: python -m pip install --upgrade pip clickgen
|
run: python -m pip install --upgrade pip clickgen
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
|
|
||||||
# https://github.com/returntocorp/semgrep/issues/4794
|
- name: Print clickgen Version
|
||||||
- name: Fixing 'attr' module error
|
run: |
|
||||||
run: pip install --force-reinstall --upgrade attrs
|
clickgen --version
|
||||||
|
ctgen --version
|
||||||
|
|
||||||
- name: Building `macOS BigSur` Cursors
|
- name: Build
|
||||||
run: ctgen build.toml -d 'bitmaps/macOS-BigSur' -n 'macOS-BigSur' -c 'macOS BigSur Cursors'
|
run: yarn build
|
||||||
|
|
||||||
- name: Building `macOS BigSur White` Cursors
|
|
||||||
run: ctgen build.toml -d 'bitmaps/macOS-BigSur-White' -n 'macOS-BigSur-White' -c 'macOS BigSur White Cursors'
|
|
||||||
|
|
||||||
- name: Building `macOS Monterey` Cursors
|
|
||||||
run: ctgen build.toml -d 'bitmaps/macOS-Monterey' -n 'macOS-Monterey' -c 'macOS Monterey Cursors'
|
|
||||||
|
|
||||||
- name: Building `macOS Monterey White` Cursors
|
|
||||||
run: ctgen build.toml -d 'bitmaps/macOS-Monterey-White' -n 'macOS-Monterey-White' -c 'macOS Monterey White Cursors'
|
|
||||||
|
|
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
themes
|
themes
|
||||||
bin
|
bin
|
||||||
|
bitmaps
|
||||||
|
|
||||||
# --------------------------------------------- Nodejs
|
# --------------------------------------------- Nodejs
|
||||||
|
|
||||||
|
|
323
CHANGELOG.md
|
@ -7,299 +7,336 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [unreleased]
|
## [unreleased]
|
||||||
|
|
||||||
### Added
|
## [v2.0.1] - 05 May 2024
|
||||||
|
|
||||||
- README.md: AUR docs added #91
|
### :warning: Breaking Changes
|
||||||
|
|
||||||
|
- `macOS Monterey` Cursor deprecated
|
||||||
|
|
||||||
|
### :warning: Changes for Developers/Package Distributors
|
||||||
|
|
||||||
|
> **Note**
|
||||||
|
> This change applies only to developers and package distributors
|
||||||
|
|
||||||
|
- The 'bitmaps' directory has been removed from the git repository. You can now generate the PNG files using `yarn render` or download them from the release assets.
|
||||||
|
|
||||||
|
- The `build.toml` file has been removed. Instead, the cursor build configurations are now distributed according to platforms within the `configs` directory:
|
||||||
|
- `configs/x.build.toml`: Used to build XCursor.
|
||||||
|
- `configs/win_rg.build.toml`: Used to build regular size Windows cursors.
|
||||||
|
- `configs/win_lg.build.toml`: Used to build large size Windows cursors.
|
||||||
|
- `configs/win_xxl.build.toml`: Used to build extra large size Windows cursors.
|
||||||
|
|
||||||
|
### What's New?
|
||||||
|
|
||||||
|
- feat: Redesign all cursor to latest macOS (Related to #95)
|
||||||
|
- feat: Added `Person` and `Pin` cursors for Windows
|
||||||
|
- Official Distributing `16` and `20` XCursors
|
||||||
|
- Multi Resolution Windows Cursors
|
||||||
|
- README.md: AUR docs added #91
|
||||||
|
- Attach version meta-data inside cursor packages
|
||||||
|
- Using [cbmp v1.1.1](https://github.com/ful1e5/cbmp/tree/v1.1.1) for rendering cursor bitmaps.
|
||||||
|
|
||||||
|
### Changes
|
||||||
|
|
||||||
|
- Use 'xz' for better compression in `build.sh` script
|
||||||
|
|
||||||
|
### Issue Fixes
|
||||||
|
|
||||||
|
- Fixed wrong animation #94
|
||||||
|
- Fixes #98
|
||||||
|
- Fixes #100
|
||||||
|
- Closes #95
|
||||||
|
|
||||||
## [v2.0.0] - 11 October 2021
|
## [v2.0.0] - 11 October 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Add cursor top_left_arrow ful1e5/BreezeX_Cursor#10 ful1e5/BreezeX_Cursor#11
|
- Add cursor top_left_arrow ful1e5/BreezeX_Cursor#10 ful1e5/BreezeX_Cursor#11
|
||||||
- ci: runner updated `linux`, `windows` and `macos`
|
- ci: runner updated `linux`, `windows` and `macos`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- refactor: Removed unnecessary source code
|
- refactor: Removed unnecessary source code
|
||||||
- Some cursors are very blurry on lower sizes fixed #74
|
- Some cursors are very blurry on lower sizes fixed #74
|
||||||
- README.md: removed unnecessary colors fixed #81
|
- README.md: removed unnecessary colors fixed #81
|
||||||
- README.md: Updated build docs
|
- README.md: Updated build docs
|
||||||
- fixed #87 Bigger size Windows cursor
|
- fixed #87 Bigger size Windows cursor
|
||||||
- fixed #84 Resolution problem in Windows
|
- fixed #84 Resolution problem in Windows
|
||||||
- fixed #83 Larger version for Windows
|
- fixed #83 Larger version for Windows
|
||||||
- fixed #82 Wrong hotspot in work.ani (Windows)
|
- fixed #82 Wrong hotspot in work.ani (Windows)
|
||||||
- fixed #68 Increasing font sizes in Windows problem
|
- fixed #68 Increasing font sizes in Windows problem
|
||||||
|
|
||||||
## [v1.2.3] - 23 November 2021
|
## [v1.2.3] - 23 November 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- macOSMonterey cursors added 🎊 fixed #66
|
- macOSMonterey cursors added 🎊 fixed #66
|
||||||
- Generate master `bitmaps.zip` inside `bin` directory
|
- Generate master `bitmaps.zip` inside `bin` directory
|
||||||
- `Makefile` binaries targets with variable
|
- `Makefile` binaries targets with variable
|
||||||
- pling docs: size and support info updated
|
- pling docs: size and support info updated
|
||||||
- `bigsur` cursor bitmapper as node package
|
- `bigsur` cursor bitmapper as node package
|
||||||
- New commands added inside `Makefile` for `bitmapper`
|
- New commands added inside `Makefile` for `bitmapper`
|
||||||
- symlink script for `macOSMonterey` svg files
|
- symlink script for `macOSMonterey` svg files
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Removed unnecessary badges from `README.md`
|
- Removed unnecessary badges from `README.md`
|
||||||
- Simplified README.md (removed emojis)
|
- Simplified README.md (removed emojis)
|
||||||
- sponsor with liberapay
|
- sponsor with liberapay
|
||||||
- fixed text cursor state in `xterm` & `vertical-text` (increase border size) #67
|
- fixed text cursor state in `xterm` & `vertical-text` (increase border size) #67
|
||||||
- bitmapper `core` as node package
|
- bitmapper `core` as node package
|
||||||
- macOSBigSur .svg files moved to `svgs/bigsur` directory
|
- macOSBigSur .svg files moved to `svgs/bigsur` directory
|
||||||
|
|
||||||
## [v1.2.2] - 31 October 2021
|
## [v1.2.2] - 31 October 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Rounded pointer tail #63
|
- Rounded pointer tail #63
|
||||||
- make binaries inside sub directory `make preapre`
|
- make binaries inside sub directory `make preapre`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- soft shadows in all cursors #62
|
- soft shadows in all cursors #62
|
||||||
- fixed some cursor size #64
|
- fixed some cursor size #64
|
||||||
- cursor preview updated
|
- cursor preview updated
|
||||||
- project description changed
|
- project description changed
|
||||||
|
|
||||||
## [v1.2.1] - 14 October 2021
|
## [v1.2.1] - 14 October 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- docs: macOSBigSur-White pling document added to `pling/white.bbcode`.
|
- docs: macOSBigSur-White pling document added to `pling/white.bbcode`.
|
||||||
- quick install links updated inside README.md#quick-install
|
- quick install links updated inside README.md#quick-install
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- docs: pling documents renamed to `pling/` directory.
|
- docs: pling documents renamed to `pling/` directory.
|
||||||
- build: logging character updated
|
- build: logging character updated
|
||||||
|
|
||||||
## [v1.2.0] - 25 August 2021
|
## [v1.2.0] - 25 August 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Dark branding
|
- Dark branding
|
||||||
- Multiple config supports inside bitmapper
|
- Multiple config supports inside bitmapper
|
||||||
- `macOSBigSur-White` CI added inside `build.yml`
|
- `macOSBigSur-White` CI added inside `build.yml`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Drop shadow removed from `plus.svg`
|
- Drop shadow removed from `plus.svg`
|
||||||
- Key colors added inside `.svg` files
|
- Key colors added inside `.svg` files
|
||||||
- `builder/src` configured as dynamic comment and theme-name
|
- `builder/src` configured as dynamic comment and theme-name
|
||||||
- `builder/Makefile` updated
|
- `builder/Makefile` updated
|
||||||
- `Makefile` with macOSBigSur-White cursor theme
|
- `Makefile` with macOSBigSur-White cursor theme
|
||||||
- `PULL_REQUEST_TEMPLATE.md` template updated
|
- `PULL_REQUEST_TEMPLATE.md` template updated
|
||||||
|
|
||||||
## [v1.1.6] - 13 August 2021
|
## [v1.1.6] - 13 August 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Support button inside PLING.bbcode product page
|
- Support button inside PLING.bbcode product page
|
||||||
- `make prepare` command for preparing binaries
|
- `make prepare` command for preparing binaries
|
||||||
- `pyrightconfig.json` init
|
- `pyrightconfig.json` init
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Removed **clean** target from `builder/Makefile`
|
- Removed **clean** target from `builder/Makefile`
|
||||||
- Compact code inside `builder/*`
|
- Compact code inside `builder/*`
|
||||||
- Remove `setup.py`
|
- Remove `setup.py`
|
||||||
- Builder code moved to `src`
|
- Builder code moved to `src`
|
||||||
- Import `src` module directly inside `build.py`
|
- Import `src` module directly inside `build.py`
|
||||||
- `Makefile` build commands re-arrange with groups
|
- `Makefile` build commands re-arrange with groups
|
||||||
- `crosshair` cursors border added fixed #59
|
- `crosshair` cursors border added fixed #59
|
||||||
|
|
||||||
## [v1.1.5] - 21 June 2021
|
## [v1.1.5] - 21 June 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Setup target updated inside `builder/Makefile`
|
- Setup target updated inside `builder/Makefile`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- `applbuild` modules relative imports
|
- `applbuild` modules relative imports
|
||||||
- Removed `setup.py` from `builder/`
|
- Removed `setup.py` from `builder/`
|
||||||
|
|
||||||
## [v1.1.4] - 4 April 2021
|
## [v1.1.4] - 4 April 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Cursors Preview with **shadows**
|
- Cursors Preview with **shadows**
|
||||||
- use `clickgen.packagers` for packaging **X11/UNIX** cursors
|
- use `clickgen.packagers` for packaging **X11/UNIX** cursors
|
||||||
- typing supports from `clickgen` (v1.1.9)
|
- typing supports from `clickgen` (v1.1.9)
|
||||||
- Set clickgen version to v1.1.9 inside `builder/setup.py`
|
- Set clickgen version to v1.1.9 inside `builder/setup.py`
|
||||||
- `Pillow` version locked at **8.1.1** by clickgen **v1.1.9**
|
- `Pillow` version locked at **8.1.1** by clickgen **v1.1.9**
|
||||||
- **2 Space** format in `bitmapper`
|
- **2 Space** format in `bitmapper`
|
||||||
- Sphinx based docsstring in `builder/applbuild`
|
- Sphinx based docsstring in `builder/applbuild`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Clean builder cache on every `make` commands
|
- Clean builder cache on every `make` commands
|
||||||
- Apple Cursors builder `applbuild` install as system level
|
- Apple Cursors builder `applbuild` install as system level
|
||||||
- Removed python3 virtual environment from `builder/Makefile`
|
- Removed python3 virtual environment from `builder/Makefile`
|
||||||
- **clean** target fixed in `builder/Makefile`
|
- **clean** target fixed in `builder/Makefile`
|
||||||
- Format `svg` files
|
- Format `svg` files
|
||||||
- Add Shadows / Drop Shadows to arrow cursor fixed #45 (check 29ab657)
|
- Add Shadows / Drop Shadows to arrow cursor fixed #45 (check 29ab657)
|
||||||
- Fixed Windows HiDPi issue #43 (check 7b49e34)
|
- Fixed Windows HiDPi issue #43 (check 7b49e34)
|
||||||
|
|
||||||
## [v1.1.3] - 21 February 2021
|
## [v1.1.3] - 21 February 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Shadow underneath cursor #41 fixed
|
- Shadow underneath cursor #41 fixed
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Preview with shadows cursors
|
- Preview with shadows cursors
|
||||||
|
|
||||||
## [v1.1.2] - 15 February 2021
|
## [v1.1.2] - 15 February 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- `reinstall` target added in project **makeFile**
|
- `reinstall` target added in project **makeFile**
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Dynamic make install
|
- Dynamic make install
|
||||||
- #39 Corner resize cursors are inverted fixed
|
- #39 Corner resize cursors are inverted fixed
|
||||||
|
|
||||||
## [v1.1.1] - 9 February 2021
|
## [v1.1.1] - 9 February 2021
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Cursor is not in expected position fixed #37
|
- Cursor is not in expected position fixed #37
|
||||||
|
|
||||||
## [v1.1.0] - 7 February 2021
|
## [v1.1.0] - 7 February 2021
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Smooth animation of `Animated Cursors`
|
- Smooth animation of `Animated Cursors`
|
||||||
- Auto-Package by `clickgen`
|
- Auto-Package by `clickgen`
|
||||||
- Customize & Build with `make`
|
- Customize & Build with `make`
|
||||||
- Organized project
|
- Organized project
|
||||||
- Builder with `setup.py`
|
- Builder with `setup.py`
|
||||||
- Cursors design #33 **fixed**
|
- Cursors design #33 **fixed**
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Variable length frames render **fixed**
|
- Variable length frames render **fixed**
|
||||||
- Minimum frames rendering added.
|
- Minimum frames rendering added.
|
||||||
- Windows cursors are renamed
|
- Windows cursors are renamed
|
||||||
- cursor's config moved to `builder/applbuild/constants.py`
|
- cursor's config moved to `builder/applbuild/constants.py`
|
||||||
|
|
||||||
## [v1.0.6] - 1 November 2020
|
## [v1.0.6] - 1 November 2020
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- `left_ptr_watch` with **blue pinwheel**
|
- `left_ptr_watch` with **blue pinwheel**
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- `build.log` removed feature in **clickgen v1.1.8**
|
- `build.log` removed feature in **clickgen v1.1.8**
|
||||||
- Repack Windows cursors
|
- Repack Windows cursors
|
||||||
- Removed npm scripts & documentation (`yon` package removed)
|
- Removed npm scripts & documentation (`yon` package removed)
|
||||||
- npm dependencies got upgraded (**dependabot** 🤖 security warning)
|
- npm dependencies got upgraded (**dependabot** 🤖 security warning)
|
||||||
|
|
||||||
## [v1.0.6] - 1 November 2020
|
## [v1.0.6] - 1 November 2020
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- `left_ptr_watch` with **blue pinwheel**
|
- `left_ptr_watch` with **blue pinwheel**
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Pixel match ratio set to **0.1** in `src\utils\matchImages.ts`
|
- Pixel match ratio set to **0.1** in `src\utils\matchImages.ts`
|
||||||
- Symlinks of `watch` cursor removed
|
- Symlinks of `watch` cursor removed
|
||||||
- `AppStarting.ani` changed
|
- `AppStarting.ani` changed
|
||||||
- `PLING.bbcode` missing content fix
|
- `PLING.bbcode` missing content fix
|
||||||
- Cursor **preview** updated
|
- Cursor **preview** updated
|
||||||
- `hand2` lines fixed.(from pling.com @peotincelogy)
|
- `hand2` lines fixed.(from pling.com @peotincelogy)
|
||||||
|
|
||||||
## [v1.0.5] - 23 October 2020
|
## [v1.0.5] - 23 October 2020
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- utils `getFrameName.ts` added.
|
- utils `getFrameName.ts` added.
|
||||||
- **22** cursor size added.
|
- **22** cursor size added.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- remove **Quick Install** using scripts.
|
- remove **Quick Install** using scripts.
|
||||||
- Windows **wrong resize** cursor fix.
|
- Windows **wrong resize** cursor fix.
|
||||||
- README.md docs & Table of Content refactor.
|
- README.md docs & Table of Content refactor.
|
||||||
|
|
||||||
## [v1.0.4] - 25 September 2020
|
## [v1.0.4] - 25 September 2020
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Product logo (on [imgur](https://i.imgur.com/GVLFmwF))
|
- Product logo (on [imgur](https://i.imgur.com/GVLFmwF))
|
||||||
- fix wrong implementation vertical resize cursor in **KDE**
|
- fix wrong implementation vertical resize cursor in **KDE**
|
||||||
- Compressed files in `build` **GitHub Action**
|
- Compressed files in `build` **GitHub Action**
|
||||||
|
|
||||||
## [v1.0.3] - 30 August 2020
|
## [v1.0.3] - 30 August 2020
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- `Windows Cursors Info` added in `src/svg/README.md` ([14d85f7](https://github.com/ful1e5/apple_cursor/commit/14d85f7ed289d681685e698eae4d0f205b6a3f3a))
|
- `Windows Cursors Info` added in `src/svg/README.md` ([14d85f7](https://github.com/ful1e5/apple_cursor/commit/14d85f7ed289d681685e698eae4d0f205b6a3f3a))
|
||||||
- Quick install and Build Docs Improved
|
- Quick install and Build Docs Improved
|
||||||
- Color palette Icons Changed to Semi-Circle
|
- Color palette Icons Changed to Semi-Circle
|
||||||
- Node Script with `yarn-or-npm` package ([2b026ea](https://github.com/ful1e5/apple_cursor/commit/2b026eab2cb96ff89839176297eacf80b340c7d6))
|
- Node Script with `yarn-or-npm` package ([2b026ea](https://github.com/ful1e5/apple_cursor/commit/2b026eab2cb96ff89839176297eacf80b340c7d6))
|
||||||
- Window **Config** Sorted ([acbbea2](https://github.com/ful1e5/apple_cursor/commit/acbbea24238fbfd43b405e4af73cc9f8b0101a59))
|
- Window **Config** Sorted ([acbbea2](https://github.com/ful1e5/apple_cursor/commit/acbbea24238fbfd43b405e4af73cc9f8b0101a59))
|
||||||
- Store actual data in `install.inf` in Windows Cursors.
|
- Store actual data in `install.inf` in Windows Cursors.
|
||||||
- Build Logs stored to the `build.log` file
|
- Build Logs stored to the `build.log` file
|
||||||
- Out Directories are `themes` and `bitmaps`
|
- Out Directories are `themes` and `bitmaps`
|
||||||
- Windows Cursors Package is Redesign
|
- Windows Cursors Package is Redesign
|
||||||
- `config.ts` cleanup
|
- `config.ts` cleanup
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Builder Version in `build` script
|
- Builder Version in `build` script
|
||||||
- Main method in `render`
|
- Main method in `render`
|
||||||
- Bitmaps **Pixel** check in `Animated Cursors`
|
- Bitmaps **Pixel** check in `Animated Cursors`
|
||||||
- New `utils` for **Frames Save**
|
- New `utils` for **Frames Save**
|
||||||
- **OCS** Install support **as default** for Linux users
|
- **OCS** Install support **as default** for Linux users
|
||||||
|
|
||||||
## [v1.0.2] - 10 August 2020
|
## [v1.0.2] - 10 August 2020
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- `hand2` and `left_ptr` hotspots alignments fixed.
|
- `hand2` and `left_ptr` hotspots alignments fixed.
|
||||||
- Smooth Animation with `35` Delay ([6698a56](https://github.com/ful1e5/apple_cursor/commit/6698a566c08c1f8e6a36ac7012c9a931dac2edf7))
|
- Smooth Animation with `35` Delay ([6698a56](https://github.com/ful1e5/apple_cursor/commit/6698a566c08c1f8e6a36ac7012c9a931dac2edf7))
|
||||||
- Ignored `docs` files (**.md ,LICENCE, **.bbcode) in `build` GitHub Actions. ([0df635b](https://github.com/ful1e5/apple_cursor/commit/0df635b1cdd18840606956f2188e735321f6f8b5))
|
- Ignored `docs` files (**.md ,LICENCE, **.bbcode) in `build` GitHub Actions. ([0df635b](https://github.com/ful1e5/apple_cursor/commit/0df635b1cdd18840606956f2188e735321f6f8b5))
|
||||||
- Windows Configs inside `config.py` ([e7d5092](https://github.com/ful1e5/apple_cursor/commit/e7d509295b69fbe43cdc3ea3000c493dcee47824))
|
- Windows Configs inside `config.py` ([e7d5092](https://github.com/ful1e5/apple_cursor/commit/e7d509295b69fbe43cdc3ea3000c493dcee47824))
|
||||||
- Redesign **Windows package** with `install.inf`. ([5f99e05](https://github.com/ful1e5/apple_cursor/commit/5f99e0565a5730165a498695bcbba4716108e82b))
|
- Redesign **Windows package** with `install.inf`. ([5f99e05](https://github.com/ful1e5/apple_cursor/commit/5f99e0565a5730165a498695bcbba4716108e82b))
|
||||||
- Remove **unnecessary** Windows Cursors. ([5f99e05](https://github.com/ful1e5/apple_cursor/commit/5f99e0565a5730165a498695bcbba4716108e82b))
|
- Remove **unnecessary** Windows Cursors. ([5f99e05](https://github.com/ful1e5/apple_cursor/commit/5f99e0565a5730165a498695bcbba4716108e82b))
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Cursors Preview, Build Dependencies, Runtime Dependencies and other Documents @ [README.md](https://github.com/ful1e5/apple_cursor/blob/main/README.md)
|
- Cursors Preview, Build Dependencies, Runtime Dependencies and other Documents @ [README.md](https://github.com/ful1e5/apple_cursor/blob/main/README.md)
|
||||||
- CONTRIBUTING.md
|
- CONTRIBUTING.md
|
||||||
- CODE_OF_CONDUCT.md
|
- CODE_OF_CONDUCT.md
|
||||||
- Quick Install (Windows & Linux) Documents @ [README.md](https://github.com/ful1e5/apple_cursor/blob/main/README.md) ([686bde5](https://github.com/ful1e5/apple_cursor/commit/686bde5eda5c4d913dd8c9df49aa94c20d24d9bf), [f36656d](https://github.com/ful1e5/apple_cursor/commit/f36656d1fbcce5c822d78f5964938daf1ad0c4c0))
|
- Quick Install (Windows & Linux) Documents @ [README.md](https://github.com/ful1e5/apple_cursor/blob/main/README.md) ([686bde5](https://github.com/ful1e5/apple_cursor/commit/686bde5eda5c4d913dd8c9df49aa94c20d24d9bf), [f36656d](https://github.com/ful1e5/apple_cursor/commit/f36656d1fbcce5c822d78f5964938daf1ad0c4c0))
|
||||||
- **install.sh** and **windows.inf**(automated installation files) added in `scripts` directory.
|
- **install.sh** and **windows.inf**(automated installation files) added in `scripts` directory.
|
||||||
- Table Of Content in `README.md`([476c64a](https://github.com/ful1e5/apple_cursor/commit/476c64afda50ec48c576b566ce729b575608c529#diff-04c6e90faac2675aa89e2176d2eec7d8))
|
- Table Of Content in `README.md`([476c64a](https://github.com/ful1e5/apple_cursor/commit/476c64afda50ec48c576b566ce729b575608c529#diff-04c6e90faac2675aa89e2176d2eec7d8))
|
||||||
|
|
||||||
## [v1.0.1-beta] - 3 August 2020
|
## [v1.0.1-beta] - 3 August 2020
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- `hand1 hand2 move` cursors finger gap & border in center
|
- `hand1 hand2 move` cursors finger gap & border in center
|
||||||
- Drop shadow & FPS(**62**) improvements in `wait, left_ptr_watch` cursors.
|
- Drop shadow & FPS(**62**) improvements in `wait, left_ptr_watch` cursors.
|
||||||
- Build size fix **65x65** to **64x64**. ([1120d17](https://github.com/ful1e5/apple_cursor/commit/1120d176636baff2aac1838ba316b4f420be7ca7))
|
- Build size fix **65x65** to **64x64**. ([1120d17](https://github.com/ful1e5/apple_cursor/commit/1120d176636baff2aac1838ba316b4f420be7ca7))
|
||||||
- [Pling](https://www.pling.com/p/1408466/) product page Docs at `PLING.bbcode`.
|
- [Pling](https://www.pling.com/p/1408466/) product page Docs at `PLING.bbcode`.
|
||||||
|
|
||||||
## [v1.0.0-alpha1] - 31 July 2020
|
## [v1.0.0-alpha1] - 31 July 2020
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Initial release 🎊
|
- Initial release 🎊
|
||||||
- Logo and badges
|
- Logo and badges
|
||||||
- CI/CD Pipelines
|
- CI/CD Pipelines
|
||||||
|
|
||||||
[unreleased]: https://github.com/ful1e5/apple_cursor/compare/v2.0.0...main
|
[unreleased]: https://github.com/ful1e5/apple_cursor/compare/v2.0.1...main
|
||||||
|
[v2.0.1]: https://github.com/ful1e5/apple_cursor/compare/v2.0.0...v2.0.1
|
||||||
[v2.0.0]: https://github.com/ful1e5/apple_cursor/compare/v1.2.3...v2.0.0
|
[v2.0.0]: https://github.com/ful1e5/apple_cursor/compare/v1.2.3...v2.0.0
|
||||||
[v1.2.3]: https://github.com/ful1e5/apple_cursor/compare/v1.2.2...v1.2.3
|
[v1.2.3]: https://github.com/ful1e5/apple_cursor/compare/v1.2.2...v1.2.3
|
||||||
[v1.2.2]: https://github.com/ful1e5/apple_cursor/compare/v1.2.1...v1.2.2
|
[v1.2.2]: https://github.com/ful1e5/apple_cursor/compare/v1.2.1...v1.2.2
|
||||||
|
|
4
LICENSE
|
@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
Open source macOS Cursors.
|
Open source macOS Cursors.
|
||||||
Copyright (C) 2022 Abdulkaiz Khatri
|
Copyright (C) 2024 Abdulkaiz Khatri
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||||
If the program does terminal interaction, make it output a short
|
If the program does terminal interaction, make it output a short
|
||||||
notice like this when it starts in an interactive mode:
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
apple_cursor Copyright (C) 2022 Abdulkaiz Khatri
|
apple_cursor Copyright (C) 2024 Abdulkaiz Khatri
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
|
|
213
README.md
|
@ -1,42 +1,35 @@
|
||||||
<!-- If you're interested, you can learn more about "sponsor-spotlight" on
|
|
||||||
https://dev.to/ful1e5/lets-give-recognition-to-those-supporting-our-work-on-github-sponsors-b00 -->
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
# Apple Cursor
|
# Apple Cursor
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
Open source macOS Cursors for `Windows` and `Linux` with _HiDPI Support_ .
|
Open source macOS Cursors for `Windows` and `Linux` with _HiDPI Support_ .
|
||||||
|
|
||||||
[](https://github.com/ful1e5/apple_cursor/actions?query=workflow%3Abuild)
|
[](https://github.com/ful1e5/apple_cursor/actions?query=workflow%3Abuild)
|
||||||
|
|
||||||
## Join the Community as a Sponsor
|
## Notes
|
||||||
|
|
||||||
Until 2021, my cursor projects were funded through [pling.com](https://www.pling.com).
|
- All cursor's SVG files are found in [svg](./svg) directory or you can also find them on [Figma](https://www.figma.com/file/OZw8Ylb9xPFw9h1uZYSMFa/apple_cursor?type=design&node-id=73%3A2&mode=design&t=dLILPgJJrLKeAcTE-1).
|
||||||
However, the funding has since decreased and the projects are now dependent on community
|
|
||||||
support and sponsorships to continue. If you would like to help me maintain Bibata and my
|
|
||||||
other open source projects, you can consider sponsoring my work on
|
|
||||||
[GitHub Sponsor](https://github.com/sponsors/ful1e5) or contacting me on
|
|
||||||
[Twitter](https://twitter.com/ful1e5) if your company is interested in supporting my projects.
|
|
||||||
I would be happy to discuss it and include your avatar in the project's README.
|
|
||||||
|
|
||||||
I am grateful to all the kind individuals and companies that support and sponsor my work,
|
<!-- If you're interested, you can learn more about "sponsor-spotlight" on
|
||||||
which enables me to continue working on open source projects full-time. Thank you.
|
https://dev.to/ful1e5/lets-give-recognition-to-those-supporting-our-work-on-github-sponsors-b00 -->
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- **2024-04-26**: https://github.com/ful1e5/apple_cursor/commit/c684a72e967b58d85492fae5fa68040beae47c10 Partitioned cursor build configuration into multiple files according to platform:
|
||||||
|
`build.toml` -> `configs/win_lg.build.toml`, `configs/win_rg.build.toml`, `configs/win_xl.build.toml`, `configs/x.build.toml`.
|
||||||
|
- **2024-02-23**: https://github.com/ful1e5/apple_cursor/commit/07767c24b0c5dbf912cf37350b86adc11671a18e `bitmaps` directory removed, and `macOS Monterey` cursors deprecated.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
> **Note**
|
|
||||||
> All cursor's `.svg` files are found in [svg](./svg) directory or you can also find them on
|
|
||||||
> [Figma](https://www.figma.com/file/OZw8Ylb9xPFw9h1uZYSMFa/Mac-Cursor?node-id=0%3A1).
|
|
||||||
|
|
||||||
## Cursor Sizes
|
## Cursor Sizes
|
||||||
|
|
||||||
### Xcursor Sizes:
|
### Xcursor Sizes:
|
||||||
|
|
||||||
|
<kbd>16</kbd>
|
||||||
|
<kbd>20</kbd>
|
||||||
<kbd>22</kbd>
|
<kbd>22</kbd>
|
||||||
<kbd>24</kbd>
|
<kbd>24</kbd>
|
||||||
<kbd>28</kbd>
|
<kbd>28</kbd>
|
||||||
|
@ -52,22 +45,26 @@ which enables me to continue working on open source projects full-time. Thank yo
|
||||||
|
|
||||||
### Windows Cursor Size:
|
### Windows Cursor Size:
|
||||||
|
|
||||||
- <kbd>16x16</kbd> - Small
|
| size | Regular (× ²⁄₃) | Large (× ⁴⁄₅) | Extra-Large (× 1) |
|
||||||
- <kbd>24x24</kbd> - Regular
|
| ---: | --------------: | ------------: | ----------------: |
|
||||||
- <kbd>32x32</kbd> - Large
|
| 32 | 21.333 → 22 | 25.6 → 26 | 32 |
|
||||||
- <kbd>48x48</kbd> - Extra Large
|
| 48 | 32 | 38.4 → 39 | 48 |
|
||||||
|
| 64 | 42.666 → 43 | 51.2 → 52 | 64 |
|
||||||
|
| 96 | 64 | 76.8 → 77 | 96 |
|
||||||
|
| 128 | 85.333 → 86 | 102.4 → 103 | 128 |
|
||||||
|
| 256 | 170.666 → 171 | 204.8 → 205 | 256 |
|
||||||
|
|
||||||
## Colors
|
## Colors
|
||||||
|
|
||||||
### Default
|
### Default
|
||||||
|
|
||||||
- Base Color - `#000000` (Black)
|
- Base Color - `#000000` (Black)
|
||||||
- Outline Color - `#FFFFFF` (White)
|
- Outline Color - `#FFFFFF` (White)
|
||||||
|
|
||||||
### White
|
### White
|
||||||
|
|
||||||
- Base Color - `#FFFFFF` (White)
|
- Base Color - `#FFFFFF` (White)
|
||||||
- Outline Color - `#000000` (Black)
|
- Outline Color - `#000000` (Black)
|
||||||
|
|
||||||
## How to get it
|
## How to get it
|
||||||
|
|
||||||
|
@ -99,16 +96,16 @@ paru -S apple_cursor
|
||||||
**Installation:**
|
**Installation:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
tar -xvf macOS-Bigsur.tar.gz # extract `.tar.gz`
|
tar -xvf macOS.tar.gz # extract `.tar.gz`
|
||||||
mv macOS-* ~/.icons/ # Install to local users
|
mv macOS* ~/.icons/ # Install to local users
|
||||||
sudo mv macOS-* /usr/share/icons/ # Install to all users
|
sudo mv macOS* /usr/share/icons/ # Install to all users
|
||||||
```
|
```
|
||||||
|
|
||||||
**Uninstallation:**
|
**Uninstallation:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rm ~/.icons/macOS-* # Remove from local users
|
rm ~/.icons/macOS* # Remove from local users
|
||||||
sudo rm /usr/share/icons/macOS-* # Remove from all users
|
sudo rm /usr/share/icons/macOS* # Remove from all users
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Windows
|
#### Windows
|
||||||
|
@ -138,81 +135,71 @@ Run the `uninstall.bat` script packed with the `.zip` archive
|
||||||
|
|
||||||
## Build From Source
|
## Build From Source
|
||||||
|
|
||||||
#### Notes
|
### Prerequisites
|
||||||
|
|
||||||
- Apple Cursor's build configuration and cursor hotspot settings are bundled in the `build.toml` file.
|
- Python version 3.7 or higher
|
||||||
- Check out the scripts section in [package.json](./package.json) to see how we build the cursor theme,
|
- [clickgen](https://github.com/ful1e5/clickgen)>=2.2.2 (`pip install clickgen`)
|
||||||
excluding the render scripts. They are useful for converting `.svg` files to `.png` files.
|
- [yarn](https://github.com/yarnpkg/yarn)
|
||||||
- yarn is optional, For building XCursors and Windows cursors from `.png` files or resizing them
|
|
||||||
you don't need that. If you want to develop/modify Apple Cursor's colors, and bitmaps, or generate a png
|
|
||||||
file from a svg, Then you can use yarn because bitmapper is written in TypeScript.
|
|
||||||
- Since macOS Bigsur and macOS Monterey are designed similarly, they share the same hotspot settings so a
|
|
||||||
single configuration file `build.toml` is responsible for building all variants. Due to this, you will have
|
|
||||||
to change the following options in `ctgen` to build the appropriate variant:
|
|
||||||
- **-d**: bitmaps directory
|
|
||||||
- **-n**: The name you want to give to the generated theme.
|
|
||||||
- **-c**: Theme comment.
|
|
||||||
- See `ctgen --help` for all available options.
|
|
||||||
|
|
||||||
### Build prerequisites
|
|
||||||
|
|
||||||
- Python version 3.7 or higher
|
|
||||||
- [clickgen](https://github.com/ful1e5/clickgen)>=2.1.2 (`pip install clickgen`)
|
|
||||||
- [yarn](https://github.com/yarnpkg/yarn)
|
|
||||||
|
|
||||||
### Quick start
|
### Quick start
|
||||||
|
|
||||||
1. Install [build prerequisites](#build-prerequisites) on your system
|
1. Install [build prerequisites](#prerequisites) on your system
|
||||||
2. `git clone https://github.com/ful1e5/apple_cursor`
|
2. `git clone https://github.com/ful1e5/apple_cursor`
|
||||||
3. `cd apple_cursor && yarn build`
|
3. `cd apple_cursor`
|
||||||
4. See [Installing Apple Cursor](#installing-apple-cursor).
|
4. `yarn install`
|
||||||
|
5. `yarn generate`
|
||||||
|
6. See [Installing Apple Cursor](#installing-apple-cursor).
|
||||||
|
|
||||||
### Building
|
### Getting Started
|
||||||
|
|
||||||
> **Note**
|
Once you have the [build prerequisites](#prerequisites) installed, You can personalize colors,
|
||||||
> Bitmaps are already generated in the `bitmaps` directory and **managed by the maintainer**
|
customize sizes, change target platforms, and more. This process involves using external tools,
|
||||||
> (do not edit them directly).
|
as this repository only contains SVG files and configuration for these tools:
|
||||||
|
|
||||||
First make sure you installed the [build prerequisites](#build-prerequisites).
|
- [cbmp](https://github.com/ful1e5/cbmp): Used for customizing colors and generating PNG files.
|
||||||
Now that you have the dependencies, you can try build individual themes from bitmaps and
|
- [ctgen](https://github.com/ful1e5/clickgen): Used for customizing sizes and building XCursor and Windows Cursors.
|
||||||
customize sizes, target platform, and etc. with the `ctgen` CLI (packed with `clickgen`).
|
|
||||||
|
|
||||||
#### `yarn build` aberration
|
You can refer to the README of each tool for more information on their command-line options.
|
||||||
|
|
||||||
Here are the default commands we used to build the macOS variants and packed them into `yarn build`:
|
#### Crafting Your Apple Cursor
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx cbmp -d 'svg/bigsur' -n 'macOS-BigSur' -bc '#000000' -oc '#FFFFFF'
|
npx cbmp [...] -bc '<hex>' -oc '<hex>' -wc '<hex>'
|
||||||
npx cbmp -d 'svg/bigsur' -n 'macOS-BigSur-White' -bc '#FFFFFF' -oc '#000000'
|
|
||||||
|
|
||||||
npx cbmp -d 'svg/monterey' -n 'macOS-Monterey' -bc '#000000' -oc '#FFFFFF'
|
|
||||||
npx cbmp -d 'svg/monterey' -n 'macOS-Monterey-White' -bc '#FFFFFF' -oc '#000000'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Afterwards, the themes can be found in the `themes` directory.
|
Alternatively, you can provide a JSON configuration file to render SVG files, which contains a sequence of `cbmp` commands:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx cbmp render.json
|
||||||
|
```
|
||||||
|
|
||||||
#### Customize Sizes
|
#### Customize Sizes
|
||||||
|
|
||||||
> **Note**
|
|
||||||
> You can change the cursor size up to 200 because pngs are rendered with 200x200.
|
|
||||||
> If the cursor is resized by more than rendered png size, the final cursor will be blurred.
|
|
||||||
|
|
||||||
##### Customize Windows Cursor size
|
##### Customize Windows Cursor size
|
||||||
|
|
||||||
To build Windows cursor with size `16`:
|
To build Windows cursor with size `16`:
|
||||||
|
|
||||||
> **Warning**
|
|
||||||
> Windows cursor supports only one size, if multiple sizes are given with `-s` the first size will
|
|
||||||
> be considered in build.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ctgen build.toml -s 16 -p windows -d 'bitmaps/macOS-BigSur' -n 'macOS-BigSur' -c 'macOS Big Sur Windows Cursors with size 16'
|
ctgen build.toml -s 16 -p windows -d "bitmaps/macOS" -n "macOS" -c "macOS Cursors with size 16"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also customize output directory with `-o` option:
|
You can also customize output directory with `-o` option:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ctgen build.toml -s 16 -p windows -d 'bitmaps/macOS-BigSur' -o 'out' -n 'macOS-BigSur' -c 'macOS Big Sur Windows Cursors with size 16'
|
ctgen build.toml -s 16 -p windows -d "bitmaps/macOS" -o "out" -n "macOS" -c "macOS Cursors with size 16"
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Customize XCursor size
|
##### Customize XCursor size
|
||||||
|
@ -220,44 +207,27 @@ ctgen build.toml -s 16 -p windows -d 'bitmaps/macOS-BigSur' -o 'out' -n 'macOS-B
|
||||||
To build XCursor with size `16`:
|
To build XCursor with size `16`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ctgen build.toml -s 16 -p x11 -d 'bitmaps/macOS-BigSur' -n 'macOS-BigSur' -c 'macOS Big Sur XCursors with size 16'
|
ctgen build.toml -s 16 -p x11 -d "bitmaps/macOS" -n "macOS" -c "macOS XCursors with size 16"
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also assign multiple sizes to `ctgen` for XCursors build:
|
You can also assign multiple sizes to `ctgen` for XCursors build:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ctgen build.toml -s 16 24 32 -p x11 -d 'bitmaps/macOS-BigSur' -n 'macOS-BigSur' -c 'Custom Sizes macOS Big Sur XCursors'
|
ctgen build.toml -s 16 24 32 -p x11 -d "bitmaps/macOS" -n "macOS" -c "Custom Sizes macOS XCursors"
|
||||||
```
|
|
||||||
|
|
||||||
#### Customize Colors
|
|
||||||
|
|
||||||
To customize cursors color you have to install node dependencies with `yarn install` command.
|
|
||||||
After installing dependencies you can customize the colors via `npx cbmp` Node CLI App which packed with
|
|
||||||
[cbmp](https://github.com/ful1e5/cbmp) node package.
|
|
||||||
|
|
||||||
##### `yarn render` aberration
|
|
||||||
|
|
||||||
Here are the default commands we used for generating the macOS bitmaps and packed them into `yarn render`:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npx cbmp -d 'svg/bigsur' -n 'macOS-BigSur' -bc '#000000' -oc '#FFFFFF'
|
|
||||||
npx cbmp -d 'svg/bigsur' -n 'macOS-BigSur-White' -bc '#FFFFFF' -oc '#000000'
|
|
||||||
npx cbmp -d 'svg/monterey' -n 'macOS-Monterey' -bc '#000000' -oc '#FFFFFF'
|
|
||||||
npx cbmp -d 'svg/monterey' -n 'macOS-Monterey-White' -bc '#FFFFFF' -oc '#000000'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
Lets generate Big Sur cursor with green base color and black outline:
|
Lets generate macOS cursor with green and black colors:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx cbmp -d 'svg/bigsur' -n 'macOS-BigSur-Hacker' -bc '#00FE00' -oc '#000000'
|
npx cbmp -d "svg" -o "bitmaps/macOS-Hacker" -bc "#00FE00" -oc "#000000"
|
||||||
```
|
```
|
||||||
|
|
||||||
After rendering custom color you have to build cursor through `ctgen`:
|
After rendering custom color you have to build cursor through `ctgen`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ctgen build.toml -d 'bitmaps/macOS-BigSur-Hacker' -n 'macOS-BigSur-Hacker' -c 'Green and black macOS Big Sur cursors.'
|
ctgen build.toml -d "bitmaps/macOS-Hacker" -n "macOS-Hacker" -c "Green and Black macOS cursors."
|
||||||
```
|
```
|
||||||
|
|
||||||
Afterwards, Generated theme can be found in the `themes` directory.
|
Afterwards, Generated theme can be found in the `themes` directory.
|
||||||
|
@ -265,31 +235,42 @@ Afterwards, Generated theme can be found in the `themes` directory.
|
||||||
###### macOS Gruvbox
|
###### macOS Gruvbox
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx cbmp -d 'svg/monterey' -n 'macOS-Gruvbox' -bc '#282828' -oc '#EBDBB2'
|
npx cbmp -d "svg" -o "bitmaps/macOS-Gruvbox" -bc "#282828" -oc "#EBDBB2" -wc "#000000"
|
||||||
ctgen build.toml -d 'bitmaps/macOS-Gruvbox' -n 'macOS-Gruvbox' -c 'Groovy macOS cursors.'
|
ctgen build.toml -d "bitmaps/macOS-Gruvbox" -n "macOS-Gruvbox" -c "Groovy macOS cursors."
|
||||||
```
|
```
|
||||||
|
|
||||||
###### macOS Solarized Dark
|
###### macOS Solarized Dark
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx cbmp -d 'svg/monterey' -n 'macOS-Solarized-Dark' -bc '#002b36' -oc '#839496'
|
npx cbmp -d "svg" -o "bitmaps/macOS-Solarized-Dark" -bc "#002b36" -oc "#839496" -wc "#000000"
|
||||||
ctgen build.toml -d 'bitmaps/macOS-Solarized-Dark' -n 'macOS-Solarized-Dark' -c 'Solarized Dark macOS cursors.'
|
ctgen build.toml -d "bitmaps/macOS-Solarized-Dark" -n "macOS-Solarized-Dark" -c "Solarized Dark macOS cursors."
|
||||||
```
|
```
|
||||||
|
|
||||||
###### macOS Solarized Light
|
###### macOS Solarized Light
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx cbmp -d 'svg/bigsur' -n 'macOS-Solarized-Light' -bc '#839496' -oc '#002b36'
|
npx cbmp -d "svg" -o "bitmaps/macOS-Solarized-Light" -bc "#839496" -oc "#002b36"
|
||||||
ctgen build.toml -d 'bitmaps/macOS-Solarized-Light' -n 'macOS-Solarized-Light' -c 'Solarized Light macOS cursors.'
|
ctgen build.toml -d "bitmaps/macOS-Solarized-Light" -n "macOS-Solarized-Light" -c "Solarized Light macOS cursors."
|
||||||
```
|
```
|
||||||
|
|
||||||
###### macOS Dracula
|
###### macOS Dracula
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx cbmp -d 'svg/bigsur' -n 'macOS-Dracula' -bc '#282a36' -oc '#f8f8f2'
|
npx cbmp -d "svg" -o "bitmaas/macOS-Dracula" -bc "#282a36" -oc "#f8f8f2"
|
||||||
ctgen build.toml -d 'bitmaps/macOS-Dracula' -n 'macOS-Dracula' -c 'Dracula macOS cursors.'
|
ctgen build.toml -d "bitmaps/macOS-Dracula" -n "macOS-Dracula" -c "Dracula macOS cursors."
|
||||||
```
|
```
|
||||||
|
|
||||||
# Contributing
|
## Testing Cursor
|
||||||
|
|
||||||
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`.
|
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.
|
||||||
|
|
||||||
|
- [Cursor-Test](https://vibhorjaiswal.github.io/Cursor-Test/)
|
||||||
|
- [Mozilla CSS Cursor](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor)
|
||||||
|
|
||||||
|
For a blueprint for creating XCursors, you may also want to refer to [Cursor-demo](https://wiki.tcl-lang.org/page/Cursor+demo).
|
||||||
|
|
||||||
|
## Credit
|
||||||
|
|
||||||
|
[Adwaita](https://github.com/GNOME/adwaita-icon-theme) ·
|
||||||
|
[Dmz](https://github.com/GalliumOS/dmz-cursor-theme) ·
|
||||||
|
[Yaru](https://github.com/ubuntu/yaru)
|
||||||
|
|
Before Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 7 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 7 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB |