From 377bc9fe29bcf4a06f65bd600f615331278c1083 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 12 Nov 2021 10:33:06 +0530 Subject: [PATCH 01/11] enhance: `Makefile` command with `THEME_PREFIX` variable --- CHANGELOG.md | 2 ++ Makefile | 15 ++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51b968a..5b78ec4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- `Makefile` command with `THEME_PREFIX` variable + ## [v1.0.2] - 20 June 2021 ### Changed diff --git a/Makefile b/Makefile index 1867bfd..8ccb537 100644 --- a/Makefile +++ b/Makefile @@ -21,31 +21,32 @@ windows: clean render bitmaps # Installation .ONESHELL: SHELL:=/bin/bash +THEME_PREFIX = BreezeX -src = ./themes/BreezeX-* +src = ./themes/$(THEME_PREFIX)-* local := ~/.icons -local_dest := $(local)/BreezeX-* +local_dest := $(local)/$(THEME_PREFIX)-* root := /usr/share/icons -root_dest := $(root)/BreezeX-* +root_dest := $(root)/$(THEME_PREFIX)-* install: themes @if [[ $EUID -ne 0 ]]; then - @echo "> Installing 'BreezeX' cursors inside $(local)/..." + @echo "> Installing '$(THEME_PREFIX)' cursors inside $(local)/..." @mkdir -p $(local) @cp -r $(src) $(local)/ && echo "> Installed!" @else - @echo "> Installing 'BreezeX' cursors inside $(root)/..." + @echo "> Installing '$(THEME_PREFIX)' cursors inside $(root)/..." @mkdir -p $(root) @sudo cp -r $(src) $(root)/ && echo "> Installed!" @fi uninstall: @if [[ $EUID -ne 0 ]]; then - @echo "> Removing 'BreezeX' cursors from '$(local)'..." + @echo "> Removing '$(THEME_PREFIX)' cursors from '$(local)'..." @rm -rf $(local_dest) @else - @echo "> Removing 'BreezeX' cursors from '$(root)'..." + @echo "> Removing '$(THEME_PREFIX)' cursors from '$(root)'..." @sudo rm -rf $(root_dest) @fi From cb80d2d1541004a2177996d3929c20272468c898 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 12 Nov 2021 10:41:49 +0530 Subject: [PATCH 02/11] refactor: builder module renamed to `src` --- CHANGELOG.md | 1 + bitmapper/package.json | 2 +- builder/build.py | 4 ++-- builder/{bxbuild => src}/__init__.py | 0 builder/{bxbuild => src}/configure.py | 0 builder/{bxbuild => src}/constants.py | 0 builder/{bxbuild => src}/generator.py | 0 builder/{bxbuild => src}/symlinks.py | 0 8 files changed, 4 insertions(+), 3 deletions(-) rename builder/{bxbuild => src}/__init__.py (100%) rename builder/{bxbuild => src}/configure.py (100%) rename builder/{bxbuild => src}/constants.py (100%) rename builder/{bxbuild => src}/generator.py (100%) rename builder/{bxbuild => src}/symlinks.py (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b78ec4..8135c97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - sponsor with liberapay +- builder module renamed to `src` ### Added diff --git a/bitmapper/package.json b/bitmapper/package.json index b6c590c..5d171b1 100644 --- a/bitmapper/package.json +++ b/bitmapper/package.json @@ -1,7 +1,7 @@ { "name": "breezex-bitmapper", "version": "1.0.2", - "description": "extended KDE cursor π", + "description": "extended KDE cursor", "main": "index.js", "repository": "git@github.com:ful1e5/BreezeX_Cursor.git", "author": "Kaiz Khatri", diff --git a/builder/build.py b/builder/build.py index 1cd0f3e..b55a805 100644 --- a/builder/build.py +++ b/builder/build.py @@ -4,8 +4,8 @@ import argparse from pathlib import Path -from bxbuild.configure import get_config # type: ignore -from bxbuild.generator import Info, build, wbuild, xbuild # type: ignore +from src.configure import get_config +from src.generator import Info, build, wbuild, xbuild parser = argparse.ArgumentParser( prog="breezex_builder", diff --git a/builder/bxbuild/__init__.py b/builder/src/__init__.py similarity index 100% rename from builder/bxbuild/__init__.py rename to builder/src/__init__.py diff --git a/builder/bxbuild/configure.py b/builder/src/configure.py similarity index 100% rename from builder/bxbuild/configure.py rename to builder/src/configure.py diff --git a/builder/bxbuild/constants.py b/builder/src/constants.py similarity index 100% rename from builder/bxbuild/constants.py rename to builder/src/constants.py diff --git a/builder/bxbuild/generator.py b/builder/src/generator.py similarity index 100% rename from builder/bxbuild/generator.py rename to builder/src/generator.py diff --git a/builder/bxbuild/symlinks.py b/builder/src/symlinks.py similarity index 100% rename from builder/bxbuild/symlinks.py rename to builder/src/symlinks.py From eb1716d15739732012d0456f84ae9bbb0322e9b4 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 12 Nov 2021 10:43:19 +0530 Subject: [PATCH 03/11] enhance: bitmapping log more descriptive --- CHANGELOG.md | 1 + bitmapper/src/index.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8135c97..571fe25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - sponsor with liberapay - builder module renamed to `src` +- bitmapping log more descriptive ### Added diff --git a/bitmapper/src/index.ts b/bitmapper/src/index.ts index ca6ab21..b4f4bc5 100644 --- a/bitmapper/src/index.ts +++ b/bitmapper/src/index.ts @@ -8,7 +8,7 @@ const svgDir = path.resolve(root, "svg"); const main = async () => { for (const { themeName, color } of config) { - console.log("=>", themeName); + console.log("Generating bitmaps for", themeName); const bitmapsDir = path.resolve(root, "bitmaps", themeName); const svg = new SVGHandler.SvgDirectoryParser(svgDir); @@ -17,14 +17,14 @@ const main = async () => { const browser = await png.getBrowser(); for (let { key, content } of svg.getStatic()) { - console.log(" -> Saving", key, "..."); + console.log(" ==> Saving", key, "..."); content = SVGHandler.colorSvg(content, color); await png.generateStatic(browser, content, key); } for (let { key, content } of svg.getAnimated()) { - console.log(" -> Saving", key, "..."); + console.log(" ==> Saving", key, "..."); content = SVGHandler.colorSvg(content, color); await png.generateAnimated(browser, content, key, { playbackRate: 0.3 }); From ffbd4fa4d91f9351c7164cbb10a787cb2eddcb24 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 12 Nov 2021 11:04:53 +0530 Subject: [PATCH 04/11] docs: distributed pling products docs inside `pling` directory --- CHANGELOG.md | 1 + PLING.bbcode | 41 ----------------------------------------- pling/black.bbcode | 34 ++++++++++++++++++++++++++++++++++ pling/dark.bbcode | 34 ++++++++++++++++++++++++++++++++++ pling/light.bbcode | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 103 insertions(+), 41 deletions(-) delete mode 100644 PLING.bbcode create mode 100644 pling/black.bbcode create mode 100644 pling/dark.bbcode create mode 100644 pling/light.bbcode diff --git a/CHANGELOG.md b/CHANGELOG.md index 571fe25..7bf3bc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - `Makefile` command with `THEME_PREFIX` variable +- distributed pling products docs inside `pling` directory ## [v1.0.2] - 20 June 2021 diff --git a/PLING.bbcode b/PLING.bbcode deleted file mode 100644 index 2c5c547..0000000 --- a/PLING.bbcode +++ /dev/null @@ -1,41 +0,0 @@ -[b]BreezeX [/b] Cursor Theme with [b]HiDPi[/b] Display support. This Cursor is built with [b][url=https://github.com/ful1e5/clickgen]clickgen[/url][/b] and render with the [b][url=https://github.com/puppeteer/puppeteer/]puppeteer[/url][/b]. -[i]Available Sizes[/i] [b]22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96 - -[/b][i]Get latest build[/i] @[b][url=https://github.com/ful1e5/BreezeX_Cursor/actions]GitHub Actions[/url][/b] -[i]Release Notification[/i] at [b][url=https://twitter.com/ful1e5]Twitter[/url][/b](@ful1e5) -For [i]Customizing Size[/i] check [b][url=https://github.com/ful1e5/BreezeX_Cursor#manual-build]README.md[/url][/b] - -[b]Linux/X11 installation[/b] -Get the latest stable Linux release from the [b][url=https://www.pling.com/p/1538515/#files-panel]Pling[/url][/b]. Unpack [b].tar.gz[/b] file and follow these [b]commands[/b]. - -[b]Install[/b] -[b]For all user:[/b] -[code]sudo mv BreezeX-* /usr/share/icons[/code] -[b]For local user:[/b] -[code]mv BreezeX-* ~/.icons[/code] - -[b]Uninstall[/b] -[b]From all user:[/b] -[code]sudo rm -r /usr/share/icons/BreezeX-*[/code] -[b]From local user:[/b] -[code]rm -r ~/.icons/BreezeX-*[/code] - -[b]Window installation[/b] -[list=1] - [*]unzip [b].zip[/b] file[/*] - [*]Open [b]unziped directory[/b] in Explorer, and [b]right-click[/b] on [b]install.inf[/b].[/*] - [*]Click 'Install' from the context menu, and authorise the modifications to your system.[/*] - [*]Open [i]Control Panel > Personalisation and Appearance > Change mouse pointers[/i], and select [b]BreezeX Cursors[/b].[/*] - [*]Click '[b]Apply[/b]'.[/*] -[/list] - -[b]How I help the Creator?[/b] -[list=2] - [*]Give a [b]Star[/b] or [b]Follow[/b] on [b][url=https://github.com/ful1e5/BreezeX_Cursor]GitHub[/url][/b] (issues & PullRequest are welcome).[/*] - [*]By giving a [b]Pling[/b] or [b][url=https://www.paypal.me/kaizkhatri]Donation[/url][/b].[/*] - [*][b]Download[/b] from[url=https://www.pling.com/p/1538515/#files-panel] Pling.com[/url] Product page that helps to [b]increases[/b] my [b]monthly payout[/b].[/*] - [*][b][url=https://www.pling.com/support]Become Supporter of Pling.com[/url][/b], So we become [b]Full-Time [/b]Libre & FOSS content creator [b];)[/b][/*] -[/list] - -[b]License & Terms[/b] -'[b]BreezeX[/b]' Cursor Theme is available under the terms of the [b]GPL-3.0[/b] license. diff --git a/pling/black.bbcode b/pling/black.bbcode new file mode 100644 index 0000000..5223e3a --- /dev/null +++ b/pling/black.bbcode @@ -0,0 +1,34 @@ +extended KDE cursor. This cursor theme is built with [b][url=https://github.com/ful1e5/clickgen]clickgen[/url][/b] and render with the [b][url=https://github.com/puppeteer/puppeteer/]puppeteer[/url][/b]. + +Available Sizes: 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96 +Latest build: check [url=https://github.com/ful1e5/BreezeX_Cursor/actions]Actions[/url][/b] tab on GitHub. +Release Notification: [url=https://twitter.com/ful1e5]@ful1e5[/url] +Check for customize the cursor size: [url=https://github.com/ful1e5/BreezeX_Cursor#manual-build]README.md#manual-build[/url] + +[b]Looking for other BreezeX variants?[/b] + +[b] Support Creator[/b] +[url=https://liberapay.com/ful1e5][img]https://liberapay.com/assets/widgets/donate.svg[/img][/url] + +[b]Linux Install[/b] +Get the latest stable Linux release from the [b]files[/b] section. Unpack the [b].tar.gz[/b] file and follow these [b]commands[/b]. +[code] +mv BreezeX-Black ~/.icons # install as local +sudo mv BreezeX-Black /usr/share/icons # install as root +[/code] + +[b]Linux Uninstall[/b] +[code] +rm -r ~/.icons/BreezeX-Black # remove from local +sudo rm -r /usr/share/icons/BreezeX-Black # remove from root +[/code] + +[b]Window Install[/b] +[1] unzip [b]BreezeX-Black-Windows.zip[/b] file. +[2] Open [b]BreezeX-Black-Windows/[/b] in Explorer, and [b]right-click[/b] on [b]install.inf[/b]. +[3] Click 'Install' from the context menu, and authorize the modifications to your system. +[4] Open [i]Control Panel > Personalisation and Appearance > Change mouse pointers[/i], and select [b]BreezeX-Black Cursors[/b]. +[5] Click '[b]Apply[/b]'. + +[b]License & Terms[/b] +'BreezeX_Cursor' is available under the terms of the 'GPL-3.0' license. diff --git a/pling/dark.bbcode b/pling/dark.bbcode new file mode 100644 index 0000000..eb59c87 --- /dev/null +++ b/pling/dark.bbcode @@ -0,0 +1,34 @@ +extended KDE cursor. This cursor theme is built with [b][url=https://github.com/ful1e5/clickgen]clickgen[/url][/b] and render with the [b][url=https://github.com/puppeteer/puppeteer/]puppeteer[/url][/b]. + +Available Sizes: 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96 +Latest build: check [url=https://github.com/ful1e5/BreezeX_Cursor/actions]Actions[/url][/b] tab on GitHub. +Release Notification: [url=https://twitter.com/ful1e5]@ful1e5[/url] +Check for customize the cursor size: [url=https://github.com/ful1e5/BreezeX_Cursor#manual-build]README.md#manual-build[/url] + +[b]Looking for other BreezeX variants?[/b] + +[b] Support Creator[/b] +[url=https://liberapay.com/ful1e5][img]https://liberapay.com/assets/widgets/donate.svg[/img][/url] + +[b]Linux Install[/b] +Get the latest stable Linux release from the [b]files[/b] section. Unpack the [b].tar.gz[/b] file and follow these [b]commands[/b]. +[code] +mv BreezeX-Dark ~/.icons # install as local +sudo mv BreezeX-Dark /usr/share/icons # install as root +[/code] + +[b]Linux Uninstall[/b] +[code] +rm -r ~/.icons/BreezeX-Dark # remove from local +sudo rm -r /usr/share/icons/BreezeX-Dark # remove from root +[/code] + +[b]Window Install[/b] +[1] unzip [b]BreezeX-Dark-Windows.zip[/b] file. +[2] Open [b]BreezeX-Dark-Windows/[/b] in Explorer, and [b]right-click[/b] on [b]install.inf[/b]. +[3] Click 'Install' from the context menu, and authorize the modifications to your system. +[4] Open [i]Control Panel > Personalisation and Appearance > Change mouse pointers[/i], and select [b]BreezeX-Dark Cursors[/b]. +[5] Click '[b]Apply[/b]'. + +[b]License & Terms[/b] +'BreezeX_Cursor' is available under the terms of the 'GPL-3.0' license. diff --git a/pling/light.bbcode b/pling/light.bbcode new file mode 100644 index 0000000..4806815 --- /dev/null +++ b/pling/light.bbcode @@ -0,0 +1,34 @@ +extended KDE cursor. This cursor theme is built with [b][url=https://github.com/ful1e5/clickgen]clickgen[/url][/b] and render with the [b][url=https://github.com/puppeteer/puppeteer/]puppeteer[/url][/b]. + +Available Sizes: 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96 +Latest build: check [url=https://github.com/ful1e5/BreezeX_Cursor/actions]Actions[/url][/b] tab on GitHub. +Release Notification: [url=https://twitter.com/ful1e5]@ful1e5[/url] +Check for customize the cursor size: [url=https://github.com/ful1e5/BreezeX_Cursor#manual-build]README.md#manual-build[/url] + +[b]Looking for other BreezeX variants?[/b] + +[b] Support Creator[/b] +[url=https://liberapay.com/ful1e5][img]https://liberapay.com/assets/widgets/donate.svg[/img][/url] + +[b]Linux Install[/b] +Get the latest stable Linux release from the [b]files[/b] section. Unpack the [b].tar.gz[/b] file and follow these [b]commands[/b]. +[code] +mv BreezeX-Light ~/.icons # install as local +sudo mv BreezeX-Light /usr/share/icons # install as root +[/code] + +[b]Linux Uninstall[/b] +[code] +rm -r ~/.icons/BreezeX-Light # remove from local +sudo rm -r /usr/share/icons/BreezeX-Light # remove from root +[/code] + +[b]Window Install[/b] +[1] unzip [b]BreezeX-Light-Windows.zip[/b] file. +[2] Open [b]BreezeX-Light-Windows/[/b] in Explorer, and [b]right-click[/b] on [b]install.inf[/b]. +[3] Click 'Install' from the context menu, and authorize the modifications to your system. +[4] Open [i]Control Panel > Personalisation and Appearance > Change mouse pointers[/i], and select [b]BreezeX-Light Cursors[/b]. +[5] Click '[b]Apply[/b]'. + +[b]License & Terms[/b] +'BreezeX_Cursor' is available under the terms of the 'GPL-3.0' license. From 4624118b20d4c9f491ff222d45ef06d9c01fa7a7 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:48:34 +0530 Subject: [PATCH 05/11] init: pyright config --- pyrightconfig.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pyrightconfig.json diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 0000000..5e0a2a7 --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,12 @@ +{ + "include": ["builder"], + "exclude": ["**/node_modules", "**/__pycache__"], + + "reportMissingImports": true, + "reportMissingTypeStubs": false, + + "pythonVersion": "3.9", + "pythonPlatform": "Linux", + + "executionEnvironments": [{ "root": "builder" }] +} From 5844450e1e298c049be727a72094867a160a7546 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:59:40 +0530 Subject: [PATCH 06/11] cleanup: minimal `README.md` (removed badges and emojis) --- CHANGELOG.md | 17 ++++---- README.md | 112 ++++----------------------------------------------- 2 files changed, 16 insertions(+), 113 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bf3bc5..134cf39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,18 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +### Added + +- `Makefile` command with `THEME_PREFIX` variable +- distributed pling products docs inside `pling` directory + ### Changed - sponsor with liberapay - builder module renamed to `src` - bitmapping log more descriptive +- minimal `README.md` (removed badges and emojis) -### Added +## [v1.0.2] - 20 June 2021 -- `Makefile` command with `THEME_PREFIX` variable -- distributed pling products docs inside `pling` directory +### Added -## [v1.0.2] - 20 June 2021 +- **BreezeX-Black** variant added ### Changed @@ -26,10 +31,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Windows resize cursors scale down - `text` & `vertical-text` cursors scale down -### Added - -- **BreezeX-Black** variant added - ## [v1.0.1] - 16 June 2021 ### Changed diff --git a/README.md b/README.md index 8e098f7..4b0d14c 100644 --- a/README.md +++ b/README.md @@ -1,76 +1,11 @@ -
- -
- -- extended KDE cursor π -
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -105,8 +38,6 @@ Extended KDE Cursor theme, Highly inspired on **KDE Breeze** for `Windows` and `
> Check Figma file [here](https://www.figma.com/file/Uo4LeHvFUPDgoqLjnFc1LB/BreezeX?node-id=0%3A1)
-
-
@@ -148,8 +79,6 @@ sudo mv BreezeX-* /usr/share/icons/
4. Open _Control Panel > Personalization and Appearance > Change mouse pointers_, and select **BreezeX Cursors**.
5. Click '**Apply**'.
-
-
# Dependencies
## External Libraries
@@ -270,41 +199,14 @@ make windows WIN_SIZE=96 # Supports only one pixel-size
> For installation follow [these](#windows) steps.
-
-
# Bugs
-Bugs π should be reported [here](https://github.com/ful1e5/BreezeX_Cursor/issues) on the Github issues page.
-
-
+Bugs should be reported [here](https://github.com/ful1e5/BreezeX_Cursor/issues) on the Github issues page.
# Getting Help
-You can create a **issue**, I will help you. π
-
-
+You can create a **issue**, I will help you.
# Contributing
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`.
-
-
-
-## Support
-
-Give a **β
** or Follow on [GitHub](https://github.com/ful1e5),That's work as **Steroid π** for me. π
-
-> For extra support
-
-
-
-
-
-
-
-
- I'm Using Katana
-
-
-
-
-
-
+
Dark BreezeX Cursors
-
+
Light BreezeX Cursors
-
+
Black BreezeX Cursors
- ( `ΟΒ΄ )ΫΆβ¬ΞΉβββββββοΊ€
-
-