Merge pull request #9 from ful1e5/dev

v1.0.3
This commit is contained in:
Kaiz Khatri
2021-11-13 14:53:39 +05:30
committed by GitHub
18 changed files with 198 additions and 180 deletions
+13
View File
@@ -57,6 +57,7 @@ jobs:
run: |
tar -cvzf BreezeX-Dark.tar.gz themes/BreezeX-Dark
tar -cvzf BreezeX-Light.tar.gz themes/BreezeX-Light
tar -cvzf BreezeX-Black.tar.gz themes/BreezeX-Black
- name: Uploading `bitmaps` artifact
uses: actions/upload-artifact@v2
@@ -76,6 +77,12 @@ jobs:
name: BreezeX-Light
path: BreezeX-Light.tar.gz
- name: Uploading `BreezeX-Black` UNIX Theme artifact
uses: actions/upload-artifact@v2
with:
name: BreezeX-Black
path: BreezeX-Black.tar.gz
- name: Uploading `BreezeX-Dark` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
@@ -87,3 +94,9 @@ jobs:
with:
name: BreezeX-Light-Windows
path: themes/BreezeX-Light-Windows/*
- name: Uploading `BreezeX-Black` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
name: BreezeX-Black-Windows
path: themes/BreezeX-Black-Windows/*
+4 -5
View File
@@ -1,10 +1,9 @@
########## Custom
# Custom
bitmaps
themes
builder/files.txt
########## Python
bin
# Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
@@ -136,7 +135,7 @@ dmypy.json
.pyre/
######### Node
# --------------------------------------------- Nodejs
# Logs
logs
+17 -7
View File
@@ -7,24 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [unreleased]
### Changed
- sponsor with liberapay
## [v1.0.3] - 13 Nov 2021
### Added
- `Makefile` command with `THEME_PREFIX` variable
- distributed pling products docs inside `pling` directory
- `prepare` command added inside `Makefile`
- upload `BreezeX-Black` artifacts in `build` GitHub Action
### Changed
- sponsor with liberapay
- builder module renamed to `src`
- bitmapping log more descriptive
- minimal `README.md` (removed badges and emojis)
## [v1.0.2] - 20 June 2021
### Added
- **BreezeX-Black** variant added
### Changed
- Bigger hotspot dot for Resize cursors
- Windows resize cursors scale down
- `text` & `vertical-text` cursors scale down
### Added
- **BreezeX-Black** variant added
## [v1.0.1] - 16 June 2021
### Changed
+23 -7
View File
@@ -21,32 +21,48 @@ 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
reinstall: uninstall install
# generates binaries
BIN_DIR = ../bin
THEMES = Dark Light Black
prepare: bitmaps themes
@rm -rf bin && mkdir bin
@$(foreach theme,$(THEMES), mkdir -p bin/$(THEME_PREFIX)-$(theme);)
@cd bitmaps
@$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)-$(theme)/bitmaps.zip $(THEME_PREFIX)-$(theme);)
@zip -r $(BIN_DIR)/bitmaps.zip *
@cd ..
@cd themes
@$(foreach theme,$(THEMES), tar -czvf $(BIN_DIR)/$(THEME_PREFIX)-$(theme)/$(THEME_PREFIX)-$(theme).tar.gz $(THEME_PREFIX)-$(theme);)
@$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)-$(theme)/$(THEME_PREFIX)-$(theme)-Windows.zip $(THEME_PREFIX)-$(theme)-Windows;)
@cd ..
-41
View File
@@ -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.
+14 -113
View File
@@ -1,76 +1,11 @@
<p align="center">
<img src="https://imgur.com/5M6xQZx.png" width="120" alt="BreezeX" />
</p>
<p align="center">
extended KDE cursor 💙
</p>
<!-- Badges -->
<p align="center">
<!-- First Row -->
<a href="https://github.com/ful1e5/BreezeX_Cursor/actions">
<img alt="GitHub Action Build" src="https://github.com/ful1e5/BreezeX_Cursor/actions/workflows/build.yml/badge.svg" width="102" />
</a>
<a href="https://www.codefactor.io/repository/github/ful1e5/breezex_cursor">
<img src="https://www.codefactor.io/repository/github/ful1e5/breezex_cursor/badge" alt="CodeFactor" />
</a>
<!-- Second Row -->
</br >
<a href="https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html">
<img alt="npm type definitions" src="https://img.shields.io/npm/types/typescript">
</a>
<a href="https://github.com/puppeteer/puppeteer/">
<img alt="Puppeteer version" src="https://img.shields.io/github/package-json/dependency-version/ful1e5/BreezeX_Cursor/puppeteer?filename=bitmapper%2Fpackage.json">
</a>
<a href="https://github.com/ful1e5/clickgen">
<img alt="Clickgen" src="https://img.shields.io/badge/theme%20builder-clickgen-FD0542" />
</a>
<!-- Second Row -->
<br />
<a href="https://github.com/ful1e5/BreezeX_Cursor/releases">
<img alt="BreezeX Cursor release (latest by date including pre-releases)" src="https://img.shields.io/github/v/release/ful1e5/BreezeX_Cursor?include_prer">
</a>
<a href="https://github.com/ful1e5/BreezeX_Cursor/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/ful1e5/BreezeX_Cursor?color=0081FB" />
</a>
<!-- Third Row -->
<br />
<a href="https://www.pling.com/p/1538515/#files-panel">
<img alt="License" src="https://img.shields.io/badge/-Linux-grey?logo=linux" />
</a>
<a href="https://www.pling.com/p/1538515/#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 -->
<br />
<a href="https://github.com/ful1e5">
<img alt="Made By Kaiz" src="https://kaiz.vercel.app/api/badge" width="133" />
</a>
</p>
---
<!-- Intro -->
# BreezeX Cursor
Extended KDE Cursor theme, Highly inspired on **KDE Breeze** for `Windows` and `Linux` with _HiDPi Support_ 🎉.
[![Build](https://github.com/ful1e5/BreezeX_Cursor/actions/workflows/build.yml/badge.svg)](https://github.com/ful1e5/BreezeX_Cursor/actions)
[![CodeFactor](https://www.codefactor.io/repository/github/ful1e5/breezex_cursor/badge)](https://www.codefactor.io/repository/github/ful1e5/breezex_cursor)
[![Twitter](https://img.shields.io/badge/twitter-ful1e5-blue)](https://twitter.com/ful1e5)
#### Cursor Sizes
<kbd>22</kbd>
@@ -90,37 +25,32 @@ Extended KDE Cursor theme, Highly inspired on **KDE Breeze** for `Windows` and `
![#4C4C4C](https://imgur.com/oHJxr47.png)
![#FFFFFF](https://imgur.com/0Wexs1k.png)
![#000000](https://imgur.com/06jisfL.png)
#### Quick install
### Quick install
<!-- Quick install -->
<p align="center">
<a href="https://www.pling.com/p/1538515/#files-panel" >
<img title="BreezeX Pling Store" width="40%" src="https://imgur.com/VxSgrWw.png">
</a>
</p>
- BreezeX Dark: [https://www.pling.com/p/1538515](https://www.pling.com/p/1538515)
- BreezeX Light: [https://www.pling.com/p/1640746](https://www.pling.com/p/1640746)
- BreezeX Black: [https://www.pling.com/p/1640747](https://www.pling.com/p/1640747)
#### Preview:
> Check Figma file [here](https://www.figma.com/file/Uo4LeHvFUPDgoqLjnFc1LB/BreezeX?node-id=0%3A1)
<!-- Preview -->
<p align="center">
<img title="BreezeX Dark" src="https://imgur.com/xfmjST3.png">
<img title="BreezeX Dark" src="https://imgur.com/zDGsq2h.png">
</br>
<sub>Dark BreezeX Cursors</sub>
</p>
<p align="center">
<img title="BreezeX Light" src="https://imgur.com/3wCoRYV.png">
<img title="BreezeX Light" src="https://imgur.com/tmKu1vC.png">
</br>
<sub>Light BreezeX Cursors</sub>
</p>
<p align="center">
<img title="BreezeX Black" src="https://imgur.com/l75GrMa.png">
<img title="BreezeX Black" src="https://imgur.com/kzLufkT.png">
</br>
<sub>Black BreezeX Cursors</sub>
</p>
@@ -148,8 +78,6 @@ sudo mv BreezeX-* /usr/share/icons/
4. Open _Control Panel > Personalization and Appearance > Change mouse pointers_, and select **BreezeX Cursors**.
5. Click '**Apply**'.
<!-- Build Dependencies -->
# Dependencies
## External Libraries
@@ -270,41 +198,14 @@ make windows WIN_SIZE=96 # Supports only one pixel-size
> For installation follow [these](#windows) steps.
<!-- Bug Report -->
# Bugs
Bugs 🐛 should be reported [here](https://github.com/ful1e5/BreezeX_Cursor/issues) on the Github issues page.
<!-- Help -->
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. 🙂
<!-- Contributions and Suggestion -->
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 -->
## Support
Give a **★** or Follow on [GitHub](https://github.com/ful1e5),That's work as **Steroid 💉** for me. 😉
> For extra support
<a href="https://www.buymeacoffee.com/Nt7Wg4V" target="_blank">
<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;" >
</a>
<!-- Ninja -->
<h1 align="center">
( `ω´ )۶▬ι═══════ﺤ
</h1>
<p align="center">
<sub>I'm Using Katana</sub>
</p>
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "breezex-bitmapper",
"version": "1.0.2",
"description": "extended KDE cursor 💙",
"version": "1.0.3",
"description": "extended KDE cursor",
"main": "index.js",
"repository": "git@github.com:ful1e5/BreezeX_Cursor.git",
"author": "Kaiz Khatri",
+3 -3
View File
@@ -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 });
+2 -2
View File
@@ -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",
+36
View File
@@ -0,0 +1,36 @@
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]
[url=https://www.pling.com/p/1538515]BreezeX Dark[/url]
[url=https://www.pling.com/p/1640746]BreezeX Light[/url]
[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.
+36
View File
@@ -0,0 +1,36 @@
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]
[url=https://www.pling.com/p/1640746]BreezeX Light[/url]
[url=https://www.pling.com/p/1640747]BreezeX Black[/url]
[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.
+36
View File
@@ -0,0 +1,36 @@
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]
[url=https://www.pling.com/p/1538515]BreezeX Dark[/url]
[url=https://www.pling.com/p/1640747]BreezeX Black[/url]
[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.
+12
View File
@@ -0,0 +1,12 @@
{
"include": ["builder"],
"exclude": ["**/node_modules", "**/__pycache__"],
"reportMissingImports": true,
"reportMissingTypeStubs": false,
"pythonVersion": "3.9",
"pythonPlatform": "Linux",
"executionEnvironments": [{ "root": "builder" }]
}