feat: Using cbmp v1.0.0 for rendering cursor bitmaps.

This commit is contained in:
Abdulkaiz Khatri 2023-09-11 18:11:53 +05:30
parent dbb90f56d0
commit da66c7e7f8
4 changed files with 880 additions and 219 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
# Custom # Custom
themes themes
bin bin
bitmaps
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/

View file

@ -9,15 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### What's New? ### What's New?
- docs: Added list of websites for testing cursor states in README (fixed #123) - Using [cbmp v1.0.0](https://github.com/ful1e5/cbmp/tree/v1.0.0) for rendering cursor bitmaps.
- ci: Added build support with `python 3.11` - ci: Added build support with `python 3.11`
- docs: Added list of websites for testing cursor states in README (fixed #123)
### Changed ### Changed
- Use 'xz' for better compression in `release` script #140 - Use 'xz' for better compression in `release` script #140
- correct AUR Package in `README.md` #142 - correct AUR Package in `README.md` #142
## [Bibata v2.0.3] - 06 December 2022 ## [v2.0.3] - 06 December 2022
### Added ### Added
@ -32,7 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- chore: Symlink `dnd-move` with `grabbing` cursor - chore: Symlink `dnd-move` with `grabbing` cursor
- chore: Simplify svg code - chore: Simplify svg code
## [Bibata v2.0.2] - 10 October 2022 ## [v2.0.2] - 10 October 2022
### Changed ### Changed
@ -40,13 +41,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix blurry Windows Cursors in Small versions #119 #116 - Fix blurry Windows Cursors in Small versions #119 #116
- Fix custom outline and base color #104 - Fix custom outline and base color #104
## [Bibata v2.0.1] - 03 October 2022 ## [v2.0.1] - 03 October 2022
### Changed ### Changed
- Fix transparency pixels distortion in XCursors #118 - Fix transparency pixels distortion in XCursors #118
## [Bibata v2.0.0] - 03 October 2022 ## [v2.0.0] - 03 October 2022
### Added ### Added
@ -65,7 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix [Modern Classic] I-Beam cursor is blurry #117 - Fix [Modern Classic] I-Beam cursor is blurry #117
- Make Outline more visible in cursors - Make Outline more visible in cursors
## [Bibata v1.1.2] - 12 July 2021 ## [v1.1.2] - 12 July 2021
### Added ### Added
@ -83,7 +84,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Makefile` build commands re-arrange with groups - `Makefile` build commands re-arrange with groups
- Dynamic determine **Windows canvas size** on **Windows cursor size** inside build.py` - Dynamic determine **Windows canvas size** on **Windows cursor size** inside build.py`
## [Bibata v1.1.1] - 26 March 2021 ## [v1.1.1] - 26 March 2021
### Added ### Added
@ -106,7 +107,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Format `svg` files - Format `svg` files
- Remove old username of an author with Contributors table - Remove old username of an author with Contributors table
## [Bibata v1.1.0] - 26 February 2021 ## [v1.1.0] - 26 February 2021
### Added ### Added
@ -136,7 +137,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix Cursors not available for Login Window in Linux Mint 20 #88 - Fix Cursors not available for Login Window in Linux Mint 20 #88
- Dirty pixel in `move` cursor fixed #94 - Dirty pixel in `move` cursor fixed #94
## [Bibata v1.0.3] - 10 November 2020 ## [v1.0.3] - 10 November 2020
### Added ### Added
@ -152,7 +153,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- fixed #82 improvement to X-cursor (feature request) - fixed #82 improvement to X-cursor (feature request)
- fixed #81 Corner resize cursors are not coloured (bug) - fixed #81 Corner resize cursors are not coloured (bug)
## [Bibata v1.0.2] - 30 October 2020 ## [v1.0.2] - 30 October 2020
### Added ### Added
@ -168,7 +169,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- locked clickgen to **1.1.7** - locked clickgen to **1.1.7**
- Package information provider module changed to `builder/pkg_info.py` - Package information provider module changed to `builder/pkg_info.py`
## [Bibata v1.0.1] - 08 October 2020 ## [v1.0.1] - 08 October 2020
### Added ### Added
@ -188,7 +189,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- #76 Wrong implementation resize cursors **[closed]** - #76 Wrong implementation resize cursors **[closed]**
- #74 `Pillow` pip requirements checking in installation of **clickgen** - #74 `Pillow` pip requirements checking in installation of **clickgen**
## [Bibata v1.0.0] - 03 October 2020 ## [v1.0.0] - 03 October 2020
### Changed ### Changed
@ -212,19 +213,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Customizable Colors in **Bibata** Cursors. - Customizable Colors in **Bibata** Cursors.
- Auto framing in animated cursors with [**pixelmatch**](https://github.com/mapbox/pixelmatch) - Auto framing in animated cursors with [**pixelmatch**](https://github.com/mapbox/pixelmatch)
## [Bibata v0.4.2] - 12 January 2020 ## [v0.4.2] - 12 January 2020
### Changed ### Changed
- same names in Oil and Classic [Fixed again] - same names in Oil and Classic [Fixed again]
## [Bibata v0.4.2.beta.1] - 22 December 2019 ## [v0.4.2.beta.1] - 22 December 2019
### Changed ### Changed
- Bibata Logo resigned - Bibata Logo resigned
## [Bibata v0.4.2.alpha.2] - 01 December 2019 ## [v0.4.2.alpha.2] - 01 December 2019
### Added ### Added
@ -238,7 +239,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bibata Amber Color changed to #FF8000 - Bibata Amber Color changed to #FF8000
- Bibata Oil is inspired on **adwaita gtk** theme color #272728 - Bibata Oil is inspired on **adwaita gtk** theme color #272728
## [Bibata v0.4.2.alpha.1] - 13 November 2019 ## [v0.4.2.alpha.1] - 13 November 2019
### Added ### Added
@ -253,42 +254,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Cursor's corner-shape changed - Cursor's corner-shape changed
- Hot-spots changed - Hot-spots changed
## [Bibata v.0.4.1] - 03 September 2018 ## [v.0.4.1] - 03 September 2018
### Changed ### Changed
- Locations Fixed - Locations Fixed
- AUR added in README.md - AUR added in README.md
## [Bibata v0.3.1] - 16 March 2018 ## [v0.3.1] - 16 March 2018
### Changed ### Changed
- Redesign Crosshair - Redesign Crosshair
## [Bibata v0.3] - 03 February 2018 ## [v0.3] - 03 February 2018
### Added ### Added
- Initial release 🎊 - Initial release 🎊
[unreleased]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.3...main [unreleased]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.3...main
[bibata v2.0.3]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.2...v2.0.3 [v2.0.3]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.2...v2.0.3
[bibata v2.0.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.1...v2.0.2 [v2.0.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.1...v2.0.2
[bibata v2.0.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.0...v2.0.1 [v2.0.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v2.0.0...v2.0.1
[bibata v2.0.0]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.1.2...v2.0.0 [v2.0.0]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.1.2...v2.0.0
[bibata v1.1.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.1.1...v1.1.2 [v1.1.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.1.1...v1.1.2
[bibata v1.1.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.1.0...v1.1.1 [v1.1.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.1.0...v1.1.1
[bibata v1.1.0]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.3...v1.1.0 [v1.1.0]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.3...v1.1.0
[bibata v1.0.3]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.2...v1.0.3 [v1.0.3]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.2...v1.0.3
[bibata v1.0.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.1...v1.0.2 [v1.0.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.1...v1.0.2
[bibata v1.0.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.0...v1.0.1 [v1.0.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v1.0.0...v1.0.1
[bibata v1.0.0]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2...v1.0.0 [v1.0.0]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2...v1.0.0
[bibata v0.4.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2.beta.1...v0.4.2 [v0.4.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2.beta.1...v0.4.2
[bibata v0.4.2.beta.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2.alpha.2...v0.4.2.beta.1 [v0.4.2.beta.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2.alpha.2...v0.4.2.beta.1
[bibata v0.4.2.alpha.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2.alpha.1...v0.4.2.alpha.2 [v0.4.2.alpha.2]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.2.alpha.1...v0.4.2.alpha.2
[bibata v0.4.2.alpha.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.1...v0.4.2.alpha.1 [v0.4.2.alpha.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.4.1...v0.4.2.alpha.1
[bibata v.0.4.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.3.1...v0.4.1 [v.0.4.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.3.1...v0.4.1
[bibata v0.3.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.3...v0.3.1 [v0.3.1]: https://github.com/ful1e5/Bibata_Cursor/compare/v0.3...v0.3.1
[bibata v0.3]: https://github.com/ful1e5/Bibata_Cursor/tree/v0.3 [v0.3]: https://github.com/ful1e5/Bibata_Cursor/tree/v0.3
[bibata v0.3]: https://github.com/ful1e5/Bibata_Cursor/tree/v0.3 [v0.3]: https://github.com/ful1e5/Bibata_Cursor/tree/v0.3

View file

@ -1,6 +1,6 @@
{ {
"dependencies": { "dependencies": {
"cbmp": "ful1e5/cbmp" "cbmp": "^1.0.0"
}, },
"scripts": { "scripts": {
"render:bibata-modern-amber": "npx cbmp -d 'svg/modern' -n 'Bibata-Modern-Amber' -bc '#FF8300' -oc '#FFFFFF' -wc '#001524'", "render:bibata-modern-amber": "npx cbmp -d 'svg/modern' -n 'Bibata-Modern-Amber' -bc '#FF8300' -oc '#FFFFFF' -wc '#001524'",

1019
yarn.lock

File diff suppressed because it is too large Load diff