=> {
- return element.screenshot({
- omitBackground: true,
- encoding: "binary",
- });
-};
-
-const stopAnimation = async (page: Page) => {
- // @ts-ignore
- await page._client.send("Animation.setPlaybackRate", {
- playbackRate: 0,
- });
-};
-
-const resumeAnimation = async (page: Page, playbackRate: number = 0.1) => {
- // @ts-ignore
- await page._client.send("Animation.setPlaybackRate", {
- playbackRate,
- });
-};
-
-const saveFrameImage = (key: string, frame: Buffer) => {
- const out_path = path.resolve(outDir, key);
- fs.writeFileSync(out_path, frame, { encoding: "binary" });
-};
+const root = path.resolve(__dirname, "../../");
+const svgDir = path.resolve(root, "svg");
const main = async () => {
- const browser = await puppeteer.launch({
- ignoreDefaultArgs: ["--single-process", "--no-sandbox"],
- headless: true,
- });
+ for (const { themeName, color } of config) {
+ console.log("=>", themeName);
- if (!fs.existsSync(outDir)) {
- fs.mkdirSync(outDir);
- } else {
- throw new Error(`out directory '${outDir}' already exists.`);
- }
+ const bitmapsDir = path.resolve(root, "bitmaps", themeName);
+ const svg = new SVGHandler.SvgDirectoryParser(svgDir);
- for (const svgFilePath of staticCursors) {
- const svgData = fs.readFileSync(svgFilePath, "utf-8");
- if (!svgData) {
- throw new Error(`${svgFilePath} File Read error`);
- }
-
- const page = await browser.newPage();
- const html = toHTML(svgData);
-
- await page.setContent(html);
- const svg = await getSVGElement(page);
+ const png = new BitmapsGenerator(bitmapsDir);
+ const browser = await png.getBrowser();
- const key = `${path.basename(svgFilePath, ".svg")}.png`;
- const out = path.join(outDir, key);
+ for (let { key, content } of svg.getStatic()) {
+ console.log(" -> Saving", key, "...");
- console.log("Saving", key, "...");
- await svg.screenshot({ omitBackground: true, path: out });
- await page.close();
- }
-
- for (const svgFilePath of animatedCursors) {
- const svgData = fs.readFileSync(svgFilePath, "utf8");
- if (!svgData) {
- throw new Error(`${svgFilePath} File Read error`);
+ content = SVGHandler.colorSvg(content, color);
+ await png.generateStatic(browser, content, key);
}
- const page = await browser.newPage();
- const html = toHTML(svgData);
-
- await page.setContent(html);
- const svg = await getSVGElement(page);
- await stopAnimation(page);
-
- let index = 1;
- const frameLimit = 300;
- let breakRendering = false;
- let prevImg: Buffer;
-
- // Rendering frames till `imgN` matched to `imgN-1` (When Animation is done)
- while (!breakRendering) {
- if (index > frameLimit) {
- throw new Error("Reached the frame limit.");
- }
-
- resumeAnimation(page);
- const img = await screenshot(svg);
- stopAnimation(page);
-
- if (index > 1) {
- // @ts-ignore
- const diff = matchImages(prevImg, img);
- if (diff <= 100) {
- breakRendering = !breakRendering;
- }
- }
- const frame = frameNumber(index, 3);
- const key = `${path.basename(svgFilePath, ".svg")}-${frame}.png`;
-
- console.log("Saving", key, "...");
- saveFrameImage(key, img);
+ for (let { key, content } of svg.getAnimated()) {
+ console.log(" -> Saving", key, "...");
- prevImg = img;
- ++index;
+ content = SVGHandler.colorSvg(content, color);
+ await png.generateAnimated(browser, content, key);
}
- await page.close();
+ await browser.close();
}
- await browser.close();
};
main();
From 79b6bd779104df1daa6dc3acb4313fe9caf07746 Mon Sep 17 00:00:00 2001
From: ful1e5 <24286590+ful1e5@users.noreply.github.com>
Date: Sun, 7 Mar 2021 19:24:50 +0530
Subject: [PATCH 5/9] =?UTF-8?q?=F0=9F=94=A5=20Dynamic=20ThemeName=20&=20Co?=
=?UTF-8?q?mments?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
builder/gbpkg/constants.py | 2 --
builder/gbpkg/generator.py | 29 +++++++++++++++++------------
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/builder/gbpkg/constants.py b/builder/gbpkg/constants.py
index 0c727c9..1a8db05 100644
--- a/builder/gbpkg/constants.py
+++ b/builder/gbpkg/constants.py
@@ -4,8 +4,6 @@
from typing import Dict
# Info
-THEME_NAME = "GoogleDot"
-COMMENT = "Cursor theme inspired on Google"
AUTHOR = "Kaiz Khatri"
URL = "https://github.com/ful1e5/Google_Cursor"
diff --git a/builder/gbpkg/generator.py b/builder/gbpkg/generator.py
index 98f5256..c82830d 100644
--- a/builder/gbpkg/generator.py
+++ b/builder/gbpkg/generator.py
@@ -2,19 +2,21 @@
# -*- coding: utf-8 -*-
from pathlib import Path
-from typing import Any, Dict
+from typing import Any, Dict, NamedTuple
from clickgen.builders import WindowsCursor, XCursor
from clickgen.core import CursorAlias
from clickgen.packagers import WindowsPackager, XPackager
-from gbpkg.constants import AUTHOR, COMMENT, THEME_NAME, URL
+from gbpkg.constants import AUTHOR, URL
from gbpkg.symlinks import add_missing_xcursor
-def xbuild(
- config: Dict[str, Dict[str, Any]],
- x_out_dir: Path,
-) -> None:
+class Info(NamedTuple):
+ name: str
+ comment: str
+
+
+def xbuild(config: Dict[str, Dict[str, Any]], x_out_dir: Path, info: Info) -> None:
"""Build `GoogleDot` cursor theme for only `X11`(UNIX) platform.
```
@@ -23,6 +25,7 @@ def xbuild(
:x_out_dir: (Path) Path to the output directory,
Where the `X11` cursor theme package will generate.
It also creates a directory if not exists.
+ :info: (Dict) Content theme name & comment
```
"""
@@ -38,10 +41,10 @@ def xbuild(
XCursor.create(x_cfg, x_out_dir)
add_missing_xcursor(x_out_dir / "cursors")
- XPackager(x_out_dir, THEME_NAME, COMMENT)
+ XPackager(x_out_dir, info.name, info.comment)
-def wbuild(config: Dict[str, Dict[str, Any]], win_out_dir: Path) -> None:
+def wbuild(config: Dict[str, Dict[str, Any]], win_out_dir: Path, info: Info) -> None:
"""Build `GoogleDot` cursor theme for only `Windows` platforms.
```
@@ -50,6 +53,7 @@ def wbuild(config: Dict[str, Dict[str, Any]], win_out_dir: Path) -> None:
:win_out_dir: (Path) Path to the output directory,
Where the `Windows` cursor theme package will generate.
It also creates a directory if not exists.
+ :info: (Dict) Content theme name & comment
```
"""
@@ -75,11 +79,11 @@ def wbuild(config: Dict[str, Dict[str, Any]], win_out_dir: Path) -> None:
print(f"Building '{win_cfg.stem}' Windows Cursor...")
WindowsCursor.create(win_cfg, win_out_dir)
- WindowsPackager(win_out_dir, THEME_NAME, COMMENT, AUTHOR, URL)
+ WindowsPackager(win_out_dir, info.name, info.comment, AUTHOR, URL)
def build(
- config: Dict[str, Dict[str, Any]], x_out_dir: Path, win_out_dir: Path
+ config: Dict[str, Dict[str, Any]], x_out_dir: Path, win_out_dir: Path, info: Info
) -> None:
"""Build `GoogleDot` cursor theme for `X11` & `Windows` platforms.
@@ -93,6 +97,7 @@ def build(
:win_out_dir: (Path) Path to the output directory,
Where the `Windows` cursor theme package will generate.
It also creates a directory if not exists.
+ :info: (Dict) Content theme name & comment
```
"""
@@ -124,6 +129,6 @@ def win_build(item: Dict[str, Any], alias: CursorAlias) -> None:
win_build(item, alias)
add_missing_xcursor(x_out_dir / "cursors")
- XPackager(x_out_dir, THEME_NAME, COMMENT)
+ XPackager(x_out_dir, info.name, info.comment)
- WindowsPackager(win_out_dir, THEME_NAME, COMMENT, AUTHOR, URL)
+ WindowsPackager(win_out_dir, info.name, info.comment, AUTHOR, URL)
From 05346d914b9a0b6f134ccabeee2da8b36d674219 Mon Sep 17 00:00:00 2001
From: ful1e5 <24286590+ful1e5@users.noreply.github.com>
Date: Sun, 7 Mar 2021 19:25:32 +0530
Subject: [PATCH 6/9] =?UTF-8?q?=F0=9F=91=B7=E2=9A=A1=20Multiple=20cursor?=
=?UTF-8?q?=20build=20supports?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
builder/Makefile | 12 +++++++++---
builder/build.py | 22 ++++++++++++++++------
2 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/builder/Makefile b/builder/Makefile
index c490e8f..11b0def 100644
--- a/builder/Makefile
+++ b/builder/Makefile
@@ -1,6 +1,9 @@
+bitmaps_dir = "../bitmaps"
.PHONY: all
+all: clean setup build
+
.ONESHELL:
SHELL:=/bin/bash
@@ -23,11 +26,14 @@ setup: setup.py
@. venv/bin/activate; python3 setup.py install --record files.txt
build: setup build.py
- @. venv/bin/activate; python3 build.py --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
+ @. venv/bin/activate; python3 build.py -p "$(bitmaps_dir)/GoogleDot-Blue" --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
+ @. venv/bin/activate; python3 build.py -p "$(bitmaps_dir)/GoogleDot-Black" --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
build_unix: setup build.py
- @. venv/bin/activate; python3 build.py unix --xsizes $(X_SIZES)
+ @. venv/bin/activate; python3 build.py unix -p "$(bitmaps_dir)/GoogleDot-Blue" --xsizes $(X_SIZES)
+ @. venv/bin/activate; python3 build.py unix -p "$(bitmaps_dir)/GoogleDot-Black" --xsizes $(X_SIZES)
build_windows: setup build.py
- @. venv/bin/activate; python3 build.py windows --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
+ @. venv/bin/activate; python3 build.py windows -p "$(bitmaps_dir)/GoogleDot-Blue" --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
+ @. venv/bin/activate; python3 build.py windows -p "$(bitmaps_dir)/GoogleDot-Black" --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE)
diff --git a/builder/build.py b/builder/build.py
index 3460e76..e3e17ac 100644
--- a/builder/build.py
+++ b/builder/build.py
@@ -5,7 +5,7 @@
from pathlib import Path
from gbpkg.configure import get_config
-from gbpkg.generator import build, wbuild, xbuild
+from gbpkg.generator import Info, build, wbuild, xbuild
parser = argparse.ArgumentParser(
prog="google_dot_builder",
@@ -95,9 +95,17 @@
args = parser.parse_args()
bitmaps_dir = Path(args.png_dir)
+name = bitmaps_dir.stem
-x_out_dir = Path(args.out_dir) / "GoogleDot"
-win_out_dir = Path(args.out_dir) / "GoogleDot_Windows"
+comments = {
+ "GoogleDot-Blue": "Blue cursor theme inspired on Google",
+ "GoogleDot-Black": "Black cursor theme inspired on Google",
+}
+
+x_out_dir = Path(args.out_dir) / name
+win_out_dir = Path(args.out_dir) / f"{name}-Windows"
+
+print(f"Getting '{name}' bitmaps ready for build...")
config = get_config(
bitmaps_dir,
@@ -106,9 +114,11 @@
win_size=args.win_size,
)
+info = Info(name=name, comment=comments.get(name, f"{name} Cursors"))
+
if args.platform == "unix":
- xbuild(config, x_out_dir)
+ xbuild(config, x_out_dir, info)
elif args.platform == "windows":
- wbuild(config, win_out_dir)
+ wbuild(config, win_out_dir, info)
else:
- build(config, x_out_dir, win_out_dir)
+ build(config, x_out_dir, win_out_dir, info)
From f8eadddc91aea9e6ec478da9d570bbc483b510f8 Mon Sep 17 00:00:00 2001
From: ful1e5 <24286590+ful1e5@users.noreply.github.com>
Date: Sun, 7 Mar 2021 19:39:24 +0530
Subject: [PATCH 7/9] =?UTF-8?q?=F0=9F=93=A6=20GoogleDot-Black=20artifacts?=
=?UTF-8?q?=20upload?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/build.yml | 148 ++++++++++++++++++++----------------
1 file changed, 82 insertions(+), 66 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7938765..48f5db8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,73 +1,89 @@
name: build
on:
- push:
- paths-ignore:
- - "**.md"
- - "**.bbcode"
- - LICENSE
- branches: [main, dev]
- pull_request:
- paths-ignore:
- - "**.md"
- - "**.bbcode"
- - LICENSE
- branches: [main]
+ push:
+ paths-ignore:
+ - "**.md"
+ - "**.bbcode"
+ - LICENSE
+ branches: [main, dev]
+ pull_request:
+ paths-ignore:
+ - "**.md"
+ - "**.bbcode"
+ - LICENSE
+ branches: [main]
jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: Install build dependencies (apt)
- run: sudo apt install -y libx11-dev libxcursor-dev libpng-dev
- continue-on-error: false
- - name: Get yarn cache directory path
- id: yarn-cache-dir-path
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: Caching yarn packages
- uses: actions/cache@v2
- id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
- with:
- path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
- - name: Set Up NodeJS 12.x
- uses: actions/setup-node@v1
- with:
- node-version: "12.x"
- - name: Caching pip packages
- uses: actions/cache@v2
- id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`)
- with:
- path: ~/.cache/pip
- key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
- restore-keys: |
- ${{ runner.os }}-pip-
- - name: Set up Python 3.8
- uses: actions/setup-python@v2
- with:
- python-version: "3.8"
- - name: Generating `GoogleDot` Cursor Theme
- run: make
- continue-on-error: false
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install build dependencies (apt)
+ run: sudo apt install -y libx11-dev libxcursor-dev libpng-dev
+ continue-on-error: false
+ - name: Get yarn cache directory path
+ id: yarn-cache-dir-path
+ run: echo "::set-output name=dir::$(yarn cache dir)"
+ - name: Caching yarn packages
+ uses: actions/cache@v2
+ id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
+ with:
+ path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
+ key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-yarn-
+ - name: Set Up NodeJS 12.x
+ uses: actions/setup-node@v1
+ with:
+ node-version: "12.x"
+ - name: Caching pip packages
+ uses: actions/cache@v2
+ id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`)
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
+ - name: Set up Python 3.8
+ uses: actions/setup-python@v2
+ with:
+ python-version: "3.8"
+ - name: Generating `GoogleDot` Cursor Theme
+ run: make
+ continue-on-error: false
- - name: Compressing UNIX theme
- run: tar -cvzf GoogleDot.tar.gz themes/GoogleDot
+ - name: Compressing UNIX theme
+ run: |
+ tar -cvzf GoogleDot-Blue.tar.gz themes/GoogleDot-Blue
+ tar -cvzf GoogleDot-Black.tar.gz themes/GoogleDot-Blue
- - name: Uploading `bitmaps` artifact
- uses: actions/upload-artifact@v2
- with:
- name: bitmaps
- path: bitmaps/*
- - name: Uploading `GoogleDot` UNIX Theme artifact
- uses: actions/upload-artifact@v2
- with:
- name: GoogleDot
- path: GoogleDot.tar.gz
- - name: Uploading `GoogleDot` Windows Theme artifact
- uses: actions/upload-artifact@v2
- with:
- name: GoogleDot_Windows
- path: themes/GoogleDot_Windows/*
+ - name: Uploading `bitmaps` artifact
+ uses: actions/upload-artifact@v2
+ with:
+ name: bitmaps
+ path: bitmaps/*
+
+ - name: Uploading `GoogleDot-Blue` UNIX Theme artifact
+ uses: actions/upload-artifact@v2
+ with:
+ name: GoogleDot-Blue
+ path: GoogleDot-Blue.tar.gz
+
+ - name: Uploading `GoogleDot-Black` UNIX Theme artifact
+ uses: actions/upload-artifact@v2
+ with:
+ name: GoogleDot-Black
+ path: GoogleDot-Black.tar.gz
+
+ - name: Uploading `GoogleDot-Blue` Windows Theme artifact
+ uses: actions/upload-artifact@v2
+ with:
+ name: GoogleDot_Blue-Windows
+ path: themes/GoogleDot-Blue-Windows/*
+
+ - name: Uploading `GoogleDot-Black` Windows Theme artifact
+ uses: actions/upload-artifact@v2
+ with:
+ name: GoogleDot_Black-Windows
+ path: themes/GoogleDot-Black-Windows/*
From ff060e73c0aec666cb3db70062de2495cbb46260 Mon Sep 17 00:00:00 2001
From: ful1e5 <24286590+ful1e5@users.noreply.github.com>
Date: Mon, 8 Mar 2021 17:34:13 +0530
Subject: [PATCH 8/9] =?UTF-8?q?=F0=9F=9A=80=20Prepare=20GoogleDot=20v1.1.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/build.yml | 4 ++--
CHANGELOG.md | 40 +++++++++++++++++++++++++------------
bitmapper/package.json | 2 +-
builder/setup.py | 2 +-
4 files changed, 31 insertions(+), 17 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 48f5db8..f833627 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -79,11 +79,11 @@ jobs:
- name: Uploading `GoogleDot-Blue` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
- name: GoogleDot_Blue-Windows
+ name: GoogleDot-Blue-Windows
path: themes/GoogleDot-Blue-Windows/*
- name: Uploading `GoogleDot-Black` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
- name: GoogleDot_Black-Windows
+ name: GoogleDot-Black-Windows
path: themes/GoogleDot-Black-Windows/*
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5054963..0b541a7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,31 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [unreleased]
+### Added
+
+- GoogleDot Black version
+- separated 'core' module in bitmapper
+- Makefile updated for GoogleDot
+- GoogleDot Black CI supports
+
+### Changed
+
+- All `.svg` formated with `xmllint`
+- `.svg` colors changed to key colors (Green & Blue)
+- Multiple cursors supports in `builder`
+- Dynamic theme-name & comments inside `builder/build.py`
+
## [v1.0.1] - 17 Feb 2021
### Added
-- Figma file added inside **README.md**
-- Organized build & bitmaps source code
-- Add **Make** compatibility
-- Only build options added in `Makefile`
-- Relinked few svg files for Windows cursors purpose
-- New build docs
+- Figma file added inside **README.md**
+- Organized build & bitmaps source code
+- Add **Make** compatibility
+- Only build options added in `Makefile`
+- Relinked few svg files for Windows cursors purpose
+- New build docs
### Changed
-- Fixed some linting problems of builder using `pylint`
-- Reduced Package Size
-- Customize sizes from `make`
-- CI workflow `build` compatibility with `make` commands
+- Fixed some linting problems of builder using `pylint`
+- Reduced Package Size
+- Customize sizes from `make`
+- CI workflow `build` compatibility with `make` commands
## [v1.0.0] - 27 Oct 2020
### Added
-- Initial release 🎊
-- Logo and badges
-- CI/CD Pipelines
+- Initial release 🎊
+- Logo and badges
+- CI/CD Pipelines
[unreleased]: https://github.com/ful1e5/Google_Cursor/compare/v1.0.1...main
[v1.0.1]: https://github.com/ful1e5/Google_Cursor/compare/v1.0.0...v1.0.1
diff --git a/bitmapper/package.json b/bitmapper/package.json
index ea0355d..6df6d10 100644
--- a/bitmapper/package.json
+++ b/bitmapper/package.json
@@ -1,6 +1,6 @@
{
"name": "google_cursor",
- "version": "1.0.1",
+ "version": "1.1.0",
"description": "🍭 Cursor theme inspired on Google",
"main": "index.js",
"repository": "git@github.com:ful1e5/Google_Cursor.git",
diff --git a/builder/setup.py b/builder/setup.py
index 2ddf303..b0e6efb 100644
--- a/builder/setup.py
+++ b/builder/setup.py
@@ -5,7 +5,7 @@
setup(
name="gbpkg",
- version="1.0.1",
+ version="1.1.0",
description="Generate 'GoogleDot' cursor theme from PNGs file",
url="https://github.com/ful1e5/Google_Cursor",
packages=["gbpkg"],
From e766f7e0c4e059847cee931938621fd88fefb365 Mon Sep 17 00:00:00 2001
From: ful1e5 <24286590+ful1e5@users.noreply.github.com>
Date: Mon, 8 Mar 2021 17:52:39 +0530
Subject: [PATCH 9/9] =?UTF-8?q?=F0=9F=96=BC=EF=B8=8F=20Preview=20&=20docs?=
=?UTF-8?q?=20updated?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
PLING.bbcode | 15 ++++++------
README.md | 64 ++++++++++++++++++++++++++++------------------------
2 files changed, 43 insertions(+), 36 deletions(-)
diff --git a/PLING.bbcode b/PLING.bbcode
index 777f068..a2b8bfc 100644
--- a/PLING.bbcode
+++ b/PLING.bbcode
@@ -3,26 +3,27 @@
[/b][i]Get latest build[/i] @[b][url=https://github.com/ful1e5/Google_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/Google_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/1215613#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 GoogleDot /usr/share/icons[/code]
+[code]sudo mv GoogleDot-* /usr/share/icons[/code]
[b]For local user:[/b]
-[code]mv GoogleDot ~/.icons[/code]
+[code]mv GoogleDot-* ~/.icons[/code]
[b]Uninstall[/b]
[b]From all user:[/b]
-[code]sudo rm -r /usr/share/icons/GoogleDot[/code]
+[code]sudo rm -r /usr/share/icons/GoogleDot-*[/code]
[b]From local user:[/b]
-[code]rm -r ~/.icons/GoogleDot[/code]
+[code]rm -r ~/.icons/GoogleDot-*[/code]
[b]Window installation[/b]
[list=1]
- [*]unzip [b]GoogleDot_Windows.zip[/b] file[/*]
- [*]Open [b]GoogleDot_Windows/[/b] in Explorer, and [b]right-click[/b] on [b]install.inf[/b].[/*]
+ [*]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]GoogleDot Cursors[/b].[/*]
[*]Click '[b]Apply[/b]'.[/*]
@@ -37,4 +38,4 @@ Get the latest stable Linux release from the [b][url=https://www.pling.com/p/121
[/list]
[b]License & Terms[/b]
-'[b]GoogleDot[/b]' Cursor Theme is available under the terms of the [b]GPL-3.0[/b] license.
\ No newline at end of file
+'[b]GoogleDot[/b]' Cursor Theme is available under the terms of the [b]GPL-3.0[/b] license.
diff --git a/README.md b/README.md
index 51e50c9..6dda419 100644
--- a/README.md
+++ b/README.md
@@ -106,9 +106,15 @@ Cursor theme inspired on **google material design** for `Windows` and `Linux` wi
-
+
- GoogleDot Cursors 🍭
+ Blue GoogleDot Cursors 🍭
+
+
+
+
+
+ BlackBlue GoogleDot Cursors 🍭
### Manual Install
@@ -120,16 +126,16 @@ Cursor theme inspired on **google material design** for `Windows` and `Linux` wi
tar -xvf GoogleDot.tar.gz
# For local users
-mv GoogleDot ~/.icons/
+mv GoogleDot-* ~/.icons/
# For all users
-sudo mv GoogleDot /usr/share/icons/
+sudo mv GoogleDot-* /usr/share/icons/
```
#### Windows
-1. unzip `GoogleDot_Windows.zip` file
-2. Open `GoogleDot_Windows/` in Explorer, and **right click** on `install.inf`.
+1. unzip `.zip` file
+2. Open unziped directory in Explorer, and **right click** on `install.inf`.
3. Click 'Install' from the context menu, and authorize the modifications to your system.
4. Open _Control Panel > Personalization and Appearance > Change mouse pointers_, and select **GoogleDot Cursors**.
5. Click '**Apply**'.
@@ -140,9 +146,9 @@ sudo mv GoogleDot /usr/share/icons/
## External Libraries
-- libxcursor
-- libx11
-- libpng (<=1.6)
+- libxcursor
+- libx11
+- libpng (<=1.6)
#### Install External Libraries
@@ -173,41 +179,41 @@ sudo dnf install libX11-devel libXcursor-devel libpng-devel
## Build Dependencies
-- [gcc](https://gcc.gnu.org/install/)
-- [make](https://www.gnu.org/software/make/)
-- [nodejs](https://nodejs.org/en/) (<=12.x.x)
-- [yarn](https://classic.yarnpkg.com/en/docs/install/)
-- [python](https://www.python.org/downloads/) (<=3.8)
-- [pip3](https://pip.pypa.io/en/stable/installing/)
+- [gcc](https://gcc.gnu.org/install/)
+- [make](https://www.gnu.org/software/make/)
+- [nodejs](https://nodejs.org/en/) (<=12.x.x)
+- [yarn](https://classic.yarnpkg.com/en/docs/install/)
+- [python](https://www.python.org/downloads/) (<=3.8)
+- [pip3](https://pip.pypa.io/en/stable/installing/)
### Node Packages
-- [puppeteer](https://www.npmjs.com/package/puppeteer)
-- [pngjs](https://www.npmjs.com/package/pngjs)
-- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
+- [puppeteer](https://www.npmjs.com/package/puppeteer)
+- [pngjs](https://www.npmjs.com/package/pngjs)
+- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
### PyPi Packages
-- [clickgen](https://pypi.org/project/clickgen/s)
+- [clickgen](https://pypi.org/project/clickgen/s)
## Build Dependencies
-- [gcc](https://gcc.gnu.org/install/)
-- [make](https://www.gnu.org/software/make/)
-- [nodejs](https://nodejs.org/en/) (<=12.x.x)
-- [yarn](https://classic.yarnpkg.com/en/docs/install/)
-- [python](https://www.python.org/downloads/) (<=3.8)
-- [pip3](https://pip.pypa.io/en/stable/installing/)
+- [gcc](https://gcc.gnu.org/install/)
+- [make](https://www.gnu.org/software/make/)
+- [nodejs](https://nodejs.org/en/) (<=12.x.x)
+- [yarn](https://classic.yarnpkg.com/en/docs/install/)
+- [python](https://www.python.org/downloads/) (<=3.8)
+- [pip3](https://pip.pypa.io/en/stable/installing/)
### Node Packages
-- [puppeteer](https://www.npmjs.com/package/puppeteer)
-- [pngjs](https://www.npmjs.com/package/pngjs)
-- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
+- [puppeteer](https://www.npmjs.com/package/puppeteer)
+- [pngjs](https://www.npmjs.com/package/pngjs)
+- [pixelmatch](https://www.npmjs.com/package/pixelmatch)
### PyPi Packages
-- [clickgen](https://pypi.org/project/clickgen/s)
+- [clickgen](https://pypi.org/project/clickgen/s)
## Build From Scratch