feat: Distributing 16 and 20 XCursors

Fixes #129
This commit is contained in:
Abdulkaiz Khatri 2023-09-14 12:11:13 +05:30
parent 4f55f6c249
commit f9523173aa
4 changed files with 14 additions and 11 deletions

View file

@ -16,10 +16,7 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
@ -30,7 +27,9 @@ jobs:
node-version: 16
- name: Installing Node Dependencies
run: yarn install --frozen-lockfile
run: |
rm -rf node_modules yarn.lock
yarn install --frozen-lockfile
continue-on-error: false
- name: Print cbmp version

View file

@ -17,18 +17,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### What's New?
- Pointer Actions Cursor is Re-Designed
- The maximum size for building a cursor without losing quality is `256px`.
- The XCursor package size is now approximately `20MB` in its original form and `~2MB` when compressed.
- Official Distributing `16` and `20` XCursors (Fixes #129)
- The maximum size for building a cursor without losing quality is `256px`.
- Animated cursors now have fewer frames, Fixes #134.
- We are now using [cbmp v1.0.0](https://github.com/ful1e5/cbmp/tree/v1.0.0) for rendering cursor bitmaps.
- Added build support with `python 3.11` in the CI process.
- docs: Added list of websites for testing cursor states in README (fixed #123)
- Resolved Missing Windows Cursors. (Fixes #133, #124)
- Using [cbmp v1.0.0](https://github.com/ful1e5/cbmp/tree/v1.0.0) for rendering cursor bitmaps.
### Changed
- Use 'xz' for better compression in `release` script #140
- Corrected the AUR Package information in `README.md`, addressing issue #142.
### Issues Fixes
- docs: Added list of websites for testing cursor states in README (fixed #123)
## [v2.0.3] - 06 December 2022
### Added

View file

@ -10,7 +10,7 @@ platforms = ['x11', 'windows']
[cursors]
[cursors.fallback_settings]
x11_sizes = [22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96]
x11_sizes = [16, 20, 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96]
win_sizes = [24, 28, 32, 48]
x_hotspot = 100
y_hotspot = 100

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256" fill="none">
<path d="M101.037 101.789C93.3955 108.501 87.6062 116.606 83.9674 126.031C80.165 135.796 78.7169 147.796 78.7169 161.072V176.431V200.947V201.354C78.7169 220.144 93.9496 235.377 112.74 235.377C131.53 235.377 146.763 220.144 146.763 201.354V199.73V176.431V161.482C146.904 156.126 147.631 152.803 148.35 150.935L147.753 150.705L148.35 150.934L148.368 150.886L148.37 150.882L148.388 150.834C148.955 149.333 150.234 147.165 153.043 144.435C153.044 144.434 153.045 144.433 153.047 144.431L167.591 130.803L167.596 130.799L167.601 130.794L167.722 130.675C174.764 123.778 180.517 116.415 184.325 108.515C188.248 100.372 190.08 91.5598 190.08 82.3565C190.08 62.5199 183.516 45.2274 168.887 32.8773C168.887 32.8771 168.887 32.8769 168.886 32.8767L168.474 33.3658L101.037 101.789ZM101.037 101.789H39.6801H39.0337L39.0401 101.143L39.1941 85.6308C39.3969 65.2046 45.9461 47.3852 60.3647 34.3723L101.037 101.789Z" fill="#0000FF" stroke="#0000FF" stroke-width="1.28"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M79.8062 176.567V161.567C79.8062 148.371 81.2351 136.542 84.9305 126.969C88.6263 117.311 94.6116 109.044 102.586 102.256C102.939 101.956 103.283 101.659 103.621 101.367H40.5254L40.6745 86.219C40.8727 66.0774 47.2605 48.5779 61.3094 35.7867C75.2199 23.0347 93.79 17.6338 114.935 17.6338C135.71 17.6338 154.034 22.5068 167.811 34.3122C182.056 46.444 188.446 63.4044 188.446 82.9368C188.446 91.9734 186.665 100.608 182.856 108.583C179.152 116.337 173.535 123.602 166.611 130.444L166.493 130.561L152.085 144.182C149.233 146.977 147.867 149.262 147.238 150.943L147.22 150.99L147.203 151.037C146.43 153.061 145.699 156.522 145.558 161.955L145.18 176.567H142.64C148.505 183.106 151.439 191.248 151.439 200.184C151.439 210.533 147.509 219.798 139.742 226.813L139.735 226.819L139.729 226.825C132.216 233.593 122.952 236.651 113.06 236.651C103.164 236.651 93.9202 233.595 86.3697 226.918L86.2587 226.819L86.1496 226.719C78.4955 219.676 74.6802 210.437 74.6802 200.184C74.6802 191.286 77.5574 183.136 83.3865 176.567H79.8062Z" fill="#0000FF"/>
<path d="M94.8063 161.567C94.8063 149.203 96.1815 139.464 98.9321 132.351C101.683 125.152 106.142 118.928 112.31 113.678C118.477 108.427 123.145 103.642 126.312 99.3234C129.563 94.9198 131.188 90.0927 131.188 84.8423C131.188 72.0548 125.771 65.661 114.935 65.661C109.934 65.661 105.892 67.5241 102.808 71.2503C99.7239 74.9764 98.0986 80.0152 97.9319 86.3666H55.6738C55.8405 69.4295 61.0915 56.261 71.4268 46.8609C81.7621 37.3762 96.2649 32.6338 114.935 32.6338C133.522 32.6338 147.9 36.9951 158.068 45.7177C168.32 54.4402 173.446 66.8466 173.446 82.9368C173.446 89.9657 172.071 96.3594 169.32 102.118C166.57 107.877 162.152 113.762 156.068 119.775L141.69 133.367C137.606 137.347 134.772 141.454 133.189 145.689C131.605 149.838 130.73 155.131 130.563 161.567H94.8063ZM89.6803 200.184C89.6803 193.917 91.8891 188.793 96.3066 184.813C100.807 180.748 106.392 178.716 113.06 178.716C119.728 178.716 125.27 180.748 129.688 184.813C134.189 188.793 136.439 193.917 136.439 200.184C136.439 206.45 134.189 211.616 129.688 215.681C125.27 219.661 119.728 221.651 113.06 221.651C106.392 221.651 100.807 219.661 96.3066 215.681C91.8891 211.616 89.6803 206.45 89.6803 200.184Z" fill="#00FF00"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB