From f3d7103bec4e7b43172874b523039d654c03261d Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 22 Nov 2021 15:16:08 +0530 Subject: [PATCH 1/7] fix: corrupt .svg file --- svg/bigsur/static/ll_angle.svg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/svg/bigsur/static/ll_angle.svg b/svg/bigsur/static/ll_angle.svg index bc00429..6158c12 100644 --- a/svg/bigsur/static/ll_angle.svg +++ b/svg/bigsur/static/ll_angle.svg @@ -1,19 +1,19 @@ - + - + - + - - + + From a5b08707d83b0a8aff0f34fbbea6cabcb55b1559 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 22 Nov 2021 15:17:53 +0530 Subject: [PATCH 2/7] feat: symlink script for `macOSMonterey` svg files --- CHANGELOG.md | 1 + svg/link.py | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 svg/link.py diff --git a/CHANGELOG.md b/CHANGELOG.md index b3ab067..886a76c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - pling docs: size and support info updated - `bigsur` cursor bitmapper as node package - New commands added inside `Makefile` for `bitmapper` +- symlink script for `macOSMonterey` svg files ### Changed diff --git a/svg/link.py b/svg/link.py new file mode 100644 index 0000000..0aa7a99 --- /dev/null +++ b/svg/link.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +import os +from glob import glob + +ignore_files = ["center_ptr.svg", "context-menu.svg", "left_ptr.svg", "right_ptr.svg"] + + +def link_svg_dir(src_dir, dst_dir) -> None: + for src_path in glob(f"{src_dir}/*"): + file_name = os.path.basename(src_path) + if file_name not in ignore_files: + dst = os.path.join(dst_dir, file_name) + if os.path.exists(dst): + print(f"Removing old symlink of '{file_name}'") + os.remove(dst) + print(f"Creating symlink of '{file_name}'") + os.symlink( + os.path.relpath(src_path, f"{dst_dir}/"), + dst, + ) + else: + print(f"Ignoring file '{file_name}'") + + +link_svg_dir("bigsur/static", "monterey/static") +link_svg_dir("bigsur/animated", "monterey/animated") From fbebc838e2e4001e183636821df3a0bcc3b2e31b Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 22 Nov 2021 15:18:04 +0530 Subject: [PATCH 3/7] ci: relink macOSMonterey svg --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43fc1f6..4032f59 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,6 +53,10 @@ jobs: with: python-version: "3.8" + - name: Generating `macOSMonterey` symlinks + run: cd svg && python link.py && cd .. + continue-on-error: false + - name: Generating `macOSBigSur` Cursor Theme run: make bigsur continue-on-error: false From eff6e95bd0c463941ddd74e8ea0cb2e9fae29525 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 22 Nov 2021 15:19:00 +0530 Subject: [PATCH 4/7] feat: macOSMonterey svg files init --- svg/monterey/animated/left_ptr_watch.svg | 1 + svg/monterey/animated/wait.svg | 1 + svg/monterey/static/X_cursor.svg | 1 + svg/monterey/static/all-scroll.svg | 1 + svg/monterey/static/bottom_left_corner.svg | 1 + svg/monterey/static/bottom_right_corner.svg | 1 + svg/monterey/static/bottom_tee.svg | 1 + svg/monterey/static/center_ptr.svg | 24 +++++++++++++++++++ svg/monterey/static/context-menu.svg | 26 +++++++++++++++++++++ svg/monterey/static/copy.svg | 1 + svg/monterey/static/cross.svg | 1 + svg/monterey/static/crossed_circle.svg | 1 + svg/monterey/static/crosshair.svg | 1 + svg/monterey/static/dnd_no_drop.svg | 1 + svg/monterey/static/dotbox.svg | 1 + svg/monterey/static/hand1.svg | 1 + svg/monterey/static/hand2.svg | 1 + svg/monterey/static/left_ptr.svg | 24 +++++++++++++++++++ svg/monterey/static/left_side.svg | 1 + svg/monterey/static/left_tee.svg | 1 + svg/monterey/static/link.svg | 1 + svg/monterey/static/ll_angle.svg | 1 + svg/monterey/static/lr_angle.svg | 1 + svg/monterey/static/move.svg | 1 + svg/monterey/static/pencil.svg | 1 + svg/monterey/static/plus.svg | 1 + svg/monterey/static/question_arrow.svg | 1 + svg/monterey/static/right_ptr.svg | 24 +++++++++++++++++++ svg/monterey/static/right_tee.svg | 1 + svg/monterey/static/sb_down_arrow.svg | 1 + svg/monterey/static/sb_h_double_arrow.svg | 1 + svg/monterey/static/sb_left_arrow.svg | 1 + svg/monterey/static/sb_right_arrow.svg | 1 + svg/monterey/static/sb_up_arrow.svg | 1 + svg/monterey/static/sb_v_double_arrow.svg | 1 + svg/monterey/static/top_side.svg | 1 + svg/monterey/static/top_tee.svg | 1 + svg/monterey/static/ul_angle.svg | 1 + svg/monterey/static/ur_angle.svg | 1 + svg/monterey/static/vertical-text.svg | 1 + svg/monterey/static/wayland-cursor.svg | 1 + svg/monterey/static/xterm.svg | 1 + svg/monterey/static/zoom-in.svg | 1 + svg/monterey/static/zoom-out.svg | 1 + 44 files changed, 138 insertions(+) create mode 120000 svg/monterey/animated/left_ptr_watch.svg create mode 120000 svg/monterey/animated/wait.svg create mode 120000 svg/monterey/static/X_cursor.svg create mode 120000 svg/monterey/static/all-scroll.svg create mode 120000 svg/monterey/static/bottom_left_corner.svg create mode 120000 svg/monterey/static/bottom_right_corner.svg create mode 120000 svg/monterey/static/bottom_tee.svg create mode 100644 svg/monterey/static/center_ptr.svg create mode 100644 svg/monterey/static/context-menu.svg create mode 120000 svg/monterey/static/copy.svg create mode 120000 svg/monterey/static/cross.svg create mode 120000 svg/monterey/static/crossed_circle.svg create mode 120000 svg/monterey/static/crosshair.svg create mode 120000 svg/monterey/static/dnd_no_drop.svg create mode 120000 svg/monterey/static/dotbox.svg create mode 120000 svg/monterey/static/hand1.svg create mode 120000 svg/monterey/static/hand2.svg create mode 100644 svg/monterey/static/left_ptr.svg create mode 120000 svg/monterey/static/left_side.svg create mode 120000 svg/monterey/static/left_tee.svg create mode 120000 svg/monterey/static/link.svg create mode 120000 svg/monterey/static/ll_angle.svg create mode 120000 svg/monterey/static/lr_angle.svg create mode 120000 svg/monterey/static/move.svg create mode 120000 svg/monterey/static/pencil.svg create mode 120000 svg/monterey/static/plus.svg create mode 120000 svg/monterey/static/question_arrow.svg create mode 100644 svg/monterey/static/right_ptr.svg create mode 120000 svg/monterey/static/right_tee.svg create mode 120000 svg/monterey/static/sb_down_arrow.svg create mode 120000 svg/monterey/static/sb_h_double_arrow.svg create mode 120000 svg/monterey/static/sb_left_arrow.svg create mode 120000 svg/monterey/static/sb_right_arrow.svg create mode 120000 svg/monterey/static/sb_up_arrow.svg create mode 120000 svg/monterey/static/sb_v_double_arrow.svg create mode 120000 svg/monterey/static/top_side.svg create mode 120000 svg/monterey/static/top_tee.svg create mode 120000 svg/monterey/static/ul_angle.svg create mode 120000 svg/monterey/static/ur_angle.svg create mode 120000 svg/monterey/static/vertical-text.svg create mode 120000 svg/monterey/static/wayland-cursor.svg create mode 120000 svg/monterey/static/xterm.svg create mode 120000 svg/monterey/static/zoom-in.svg create mode 120000 svg/monterey/static/zoom-out.svg diff --git a/svg/monterey/animated/left_ptr_watch.svg b/svg/monterey/animated/left_ptr_watch.svg new file mode 120000 index 0000000..aa21b3f --- /dev/null +++ b/svg/monterey/animated/left_ptr_watch.svg @@ -0,0 +1 @@ +../../bigsur/animated/left_ptr_watch.svg \ No newline at end of file diff --git a/svg/monterey/animated/wait.svg b/svg/monterey/animated/wait.svg new file mode 120000 index 0000000..d31e187 --- /dev/null +++ b/svg/monterey/animated/wait.svg @@ -0,0 +1 @@ +../../bigsur/animated/wait.svg \ No newline at end of file diff --git a/svg/monterey/static/X_cursor.svg b/svg/monterey/static/X_cursor.svg new file mode 120000 index 0000000..2ed177b --- /dev/null +++ b/svg/monterey/static/X_cursor.svg @@ -0,0 +1 @@ +../../bigsur/static/X_cursor.svg \ No newline at end of file diff --git a/svg/monterey/static/all-scroll.svg b/svg/monterey/static/all-scroll.svg new file mode 120000 index 0000000..13fa244 --- /dev/null +++ b/svg/monterey/static/all-scroll.svg @@ -0,0 +1 @@ +../../bigsur/static/all-scroll.svg \ No newline at end of file diff --git a/svg/monterey/static/bottom_left_corner.svg b/svg/monterey/static/bottom_left_corner.svg new file mode 120000 index 0000000..79088a3 --- /dev/null +++ b/svg/monterey/static/bottom_left_corner.svg @@ -0,0 +1 @@ +../../bigsur/static/bottom_left_corner.svg \ No newline at end of file diff --git a/svg/monterey/static/bottom_right_corner.svg b/svg/monterey/static/bottom_right_corner.svg new file mode 120000 index 0000000..001d619 --- /dev/null +++ b/svg/monterey/static/bottom_right_corner.svg @@ -0,0 +1 @@ +../../bigsur/static/bottom_right_corner.svg \ No newline at end of file diff --git a/svg/monterey/static/bottom_tee.svg b/svg/monterey/static/bottom_tee.svg new file mode 120000 index 0000000..06f7adb --- /dev/null +++ b/svg/monterey/static/bottom_tee.svg @@ -0,0 +1 @@ +../../bigsur/static/bottom_tee.svg \ No newline at end of file diff --git a/svg/monterey/static/center_ptr.svg b/svg/monterey/static/center_ptr.svg new file mode 100644 index 0000000..5e62902 --- /dev/null +++ b/svg/monterey/static/center_ptr.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/monterey/static/context-menu.svg b/svg/monterey/static/context-menu.svg new file mode 100644 index 0000000..8c08a5c --- /dev/null +++ b/svg/monterey/static/context-menu.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/monterey/static/copy.svg b/svg/monterey/static/copy.svg new file mode 120000 index 0000000..41e1c16 --- /dev/null +++ b/svg/monterey/static/copy.svg @@ -0,0 +1 @@ +../../bigsur/static/copy.svg \ No newline at end of file diff --git a/svg/monterey/static/cross.svg b/svg/monterey/static/cross.svg new file mode 120000 index 0000000..89fbcd3 --- /dev/null +++ b/svg/monterey/static/cross.svg @@ -0,0 +1 @@ +../../bigsur/static/cross.svg \ No newline at end of file diff --git a/svg/monterey/static/crossed_circle.svg b/svg/monterey/static/crossed_circle.svg new file mode 120000 index 0000000..49fc4eb --- /dev/null +++ b/svg/monterey/static/crossed_circle.svg @@ -0,0 +1 @@ +../../bigsur/static/crossed_circle.svg \ No newline at end of file diff --git a/svg/monterey/static/crosshair.svg b/svg/monterey/static/crosshair.svg new file mode 120000 index 0000000..402e8e8 --- /dev/null +++ b/svg/monterey/static/crosshair.svg @@ -0,0 +1 @@ +../../bigsur/static/crosshair.svg \ No newline at end of file diff --git a/svg/monterey/static/dnd_no_drop.svg b/svg/monterey/static/dnd_no_drop.svg new file mode 120000 index 0000000..7af154c --- /dev/null +++ b/svg/monterey/static/dnd_no_drop.svg @@ -0,0 +1 @@ +../../bigsur/static/dnd_no_drop.svg \ No newline at end of file diff --git a/svg/monterey/static/dotbox.svg b/svg/monterey/static/dotbox.svg new file mode 120000 index 0000000..8790ddb --- /dev/null +++ b/svg/monterey/static/dotbox.svg @@ -0,0 +1 @@ +../../bigsur/static/dotbox.svg \ No newline at end of file diff --git a/svg/monterey/static/hand1.svg b/svg/monterey/static/hand1.svg new file mode 120000 index 0000000..c536b93 --- /dev/null +++ b/svg/monterey/static/hand1.svg @@ -0,0 +1 @@ +../../bigsur/static/hand1.svg \ No newline at end of file diff --git a/svg/monterey/static/hand2.svg b/svg/monterey/static/hand2.svg new file mode 120000 index 0000000..c0267cf --- /dev/null +++ b/svg/monterey/static/hand2.svg @@ -0,0 +1 @@ +../../bigsur/static/hand2.svg \ No newline at end of file diff --git a/svg/monterey/static/left_ptr.svg b/svg/monterey/static/left_ptr.svg new file mode 100644 index 0000000..6d734f9 --- /dev/null +++ b/svg/monterey/static/left_ptr.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/monterey/static/left_side.svg b/svg/monterey/static/left_side.svg new file mode 120000 index 0000000..b85cf24 --- /dev/null +++ b/svg/monterey/static/left_side.svg @@ -0,0 +1 @@ +../../bigsur/static/left_side.svg \ No newline at end of file diff --git a/svg/monterey/static/left_tee.svg b/svg/monterey/static/left_tee.svg new file mode 120000 index 0000000..e784a1f --- /dev/null +++ b/svg/monterey/static/left_tee.svg @@ -0,0 +1 @@ +../../bigsur/static/left_tee.svg \ No newline at end of file diff --git a/svg/monterey/static/link.svg b/svg/monterey/static/link.svg new file mode 120000 index 0000000..fd4b50e --- /dev/null +++ b/svg/monterey/static/link.svg @@ -0,0 +1 @@ +../../bigsur/static/link.svg \ No newline at end of file diff --git a/svg/monterey/static/ll_angle.svg b/svg/monterey/static/ll_angle.svg new file mode 120000 index 0000000..90b2c3a --- /dev/null +++ b/svg/monterey/static/ll_angle.svg @@ -0,0 +1 @@ +../../bigsur/static/ll_angle.svg \ No newline at end of file diff --git a/svg/monterey/static/lr_angle.svg b/svg/monterey/static/lr_angle.svg new file mode 120000 index 0000000..36b7235 --- /dev/null +++ b/svg/monterey/static/lr_angle.svg @@ -0,0 +1 @@ +../../bigsur/static/lr_angle.svg \ No newline at end of file diff --git a/svg/monterey/static/move.svg b/svg/monterey/static/move.svg new file mode 120000 index 0000000..5538a83 --- /dev/null +++ b/svg/monterey/static/move.svg @@ -0,0 +1 @@ +../../bigsur/static/move.svg \ No newline at end of file diff --git a/svg/monterey/static/pencil.svg b/svg/monterey/static/pencil.svg new file mode 120000 index 0000000..0cc82f9 --- /dev/null +++ b/svg/monterey/static/pencil.svg @@ -0,0 +1 @@ +../../bigsur/static/pencil.svg \ No newline at end of file diff --git a/svg/monterey/static/plus.svg b/svg/monterey/static/plus.svg new file mode 120000 index 0000000..4d929d4 --- /dev/null +++ b/svg/monterey/static/plus.svg @@ -0,0 +1 @@ +../../bigsur/static/plus.svg \ No newline at end of file diff --git a/svg/monterey/static/question_arrow.svg b/svg/monterey/static/question_arrow.svg new file mode 120000 index 0000000..0faddf4 --- /dev/null +++ b/svg/monterey/static/question_arrow.svg @@ -0,0 +1 @@ +../../bigsur/static/question_arrow.svg \ No newline at end of file diff --git a/svg/monterey/static/right_ptr.svg b/svg/monterey/static/right_ptr.svg new file mode 100644 index 0000000..7e05738 --- /dev/null +++ b/svg/monterey/static/right_ptr.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/monterey/static/right_tee.svg b/svg/monterey/static/right_tee.svg new file mode 120000 index 0000000..b0bfcb9 --- /dev/null +++ b/svg/monterey/static/right_tee.svg @@ -0,0 +1 @@ +../../bigsur/static/right_tee.svg \ No newline at end of file diff --git a/svg/monterey/static/sb_down_arrow.svg b/svg/monterey/static/sb_down_arrow.svg new file mode 120000 index 0000000..4a8ab4c --- /dev/null +++ b/svg/monterey/static/sb_down_arrow.svg @@ -0,0 +1 @@ +../../bigsur/static/sb_down_arrow.svg \ No newline at end of file diff --git a/svg/monterey/static/sb_h_double_arrow.svg b/svg/monterey/static/sb_h_double_arrow.svg new file mode 120000 index 0000000..48e4100 --- /dev/null +++ b/svg/monterey/static/sb_h_double_arrow.svg @@ -0,0 +1 @@ +../../bigsur/static/sb_h_double_arrow.svg \ No newline at end of file diff --git a/svg/monterey/static/sb_left_arrow.svg b/svg/monterey/static/sb_left_arrow.svg new file mode 120000 index 0000000..dcac3a7 --- /dev/null +++ b/svg/monterey/static/sb_left_arrow.svg @@ -0,0 +1 @@ +../../bigsur/static/sb_left_arrow.svg \ No newline at end of file diff --git a/svg/monterey/static/sb_right_arrow.svg b/svg/monterey/static/sb_right_arrow.svg new file mode 120000 index 0000000..b466c72 --- /dev/null +++ b/svg/monterey/static/sb_right_arrow.svg @@ -0,0 +1 @@ +../../bigsur/static/sb_right_arrow.svg \ No newline at end of file diff --git a/svg/monterey/static/sb_up_arrow.svg b/svg/monterey/static/sb_up_arrow.svg new file mode 120000 index 0000000..8face94 --- /dev/null +++ b/svg/monterey/static/sb_up_arrow.svg @@ -0,0 +1 @@ +../../bigsur/static/sb_up_arrow.svg \ No newline at end of file diff --git a/svg/monterey/static/sb_v_double_arrow.svg b/svg/monterey/static/sb_v_double_arrow.svg new file mode 120000 index 0000000..d6465a6 --- /dev/null +++ b/svg/monterey/static/sb_v_double_arrow.svg @@ -0,0 +1 @@ +../../bigsur/static/sb_v_double_arrow.svg \ No newline at end of file diff --git a/svg/monterey/static/top_side.svg b/svg/monterey/static/top_side.svg new file mode 120000 index 0000000..2621329 --- /dev/null +++ b/svg/monterey/static/top_side.svg @@ -0,0 +1 @@ +../../bigsur/static/top_side.svg \ No newline at end of file diff --git a/svg/monterey/static/top_tee.svg b/svg/monterey/static/top_tee.svg new file mode 120000 index 0000000..06cd3f2 --- /dev/null +++ b/svg/monterey/static/top_tee.svg @@ -0,0 +1 @@ +../../bigsur/static/top_tee.svg \ No newline at end of file diff --git a/svg/monterey/static/ul_angle.svg b/svg/monterey/static/ul_angle.svg new file mode 120000 index 0000000..dc6ab30 --- /dev/null +++ b/svg/monterey/static/ul_angle.svg @@ -0,0 +1 @@ +../../bigsur/static/ul_angle.svg \ No newline at end of file diff --git a/svg/monterey/static/ur_angle.svg b/svg/monterey/static/ur_angle.svg new file mode 120000 index 0000000..e3045ed --- /dev/null +++ b/svg/monterey/static/ur_angle.svg @@ -0,0 +1 @@ +../../bigsur/static/ur_angle.svg \ No newline at end of file diff --git a/svg/monterey/static/vertical-text.svg b/svg/monterey/static/vertical-text.svg new file mode 120000 index 0000000..ef8f3e8 --- /dev/null +++ b/svg/monterey/static/vertical-text.svg @@ -0,0 +1 @@ +../../bigsur/static/vertical-text.svg \ No newline at end of file diff --git a/svg/monterey/static/wayland-cursor.svg b/svg/monterey/static/wayland-cursor.svg new file mode 120000 index 0000000..b70a121 --- /dev/null +++ b/svg/monterey/static/wayland-cursor.svg @@ -0,0 +1 @@ +../../bigsur/static/wayland-cursor.svg \ No newline at end of file diff --git a/svg/monterey/static/xterm.svg b/svg/monterey/static/xterm.svg new file mode 120000 index 0000000..a56e2e6 --- /dev/null +++ b/svg/monterey/static/xterm.svg @@ -0,0 +1 @@ +../../bigsur/static/xterm.svg \ No newline at end of file diff --git a/svg/monterey/static/zoom-in.svg b/svg/monterey/static/zoom-in.svg new file mode 120000 index 0000000..e460f08 --- /dev/null +++ b/svg/monterey/static/zoom-in.svg @@ -0,0 +1 @@ +../../bigsur/static/zoom-in.svg \ No newline at end of file diff --git a/svg/monterey/static/zoom-out.svg b/svg/monterey/static/zoom-out.svg new file mode 120000 index 0000000..e29cae6 --- /dev/null +++ b/svg/monterey/static/zoom-out.svg @@ -0,0 +1 @@ +../../bigsur/static/zoom-out.svg \ No newline at end of file From 281bc18402cf625d2a9995641f59ced8ed0c59e4 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 22 Nov 2021 16:37:10 +0530 Subject: [PATCH 5/7] =?UTF-8?q?macOSMonterey=20cursors=20added=20?= =?UTF-8?q?=F0=9F=8E=8A=20fixed=20#66?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 42 +++++++++++++--- CHANGELOG.md | 1 + Makefile | 60 ++++++++++++++++------- bitmapper/Makefile | 5 +- bitmapper/package.json | 3 +- bitmapper/packages/monterey/package.json | 17 +++++++ bitmapper/packages/monterey/src/config.ts | 28 +++++++++++ bitmapper/packages/monterey/src/index.ts | 37 ++++++++++++++ bitmapper/packages/monterey/tsconfig.json | 10 ++++ builder/Makefile | 16 ++++-- 10 files changed, 187 insertions(+), 32 deletions(-) create mode 100644 bitmapper/packages/monterey/package.json create mode 100644 bitmapper/packages/monterey/src/config.ts create mode 100644 bitmapper/packages/monterey/src/index.ts create mode 100644 bitmapper/packages/monterey/tsconfig.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4032f59..e386d4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,41 +57,67 @@ jobs: run: cd svg && python link.py && cd .. continue-on-error: false - - name: Generating `macOSBigSur` Cursor Theme - run: make bigsur + - name: Generating `macOS` Cursor Theme + run: make continue-on-error: false - - name: Compressing UNIX theme + - name: Compressing `macOS` UNIX themes run: | tar -cvzf macOSBigSur.tar.gz themes/macOSBigSur tar -cvzf macOSBigSur-White.tar.gz themes/macOSBigSur-White + tar -cvzf macOSMonterey.tar.gz themes/macOSMonterey + tar -cvzf macOSMonterey-White.tar.gz themes/macOSMonterey-White - - name: Uploading `bitmaps` artifact + - name: Uploading `macOSBigSur` bitmaps uses: actions/upload-artifact@v2 with: name: bitmaps path: bitmaps/* - - name: Uploading `macOSBigSur` UNIX Theme artifact + - name: Uploading `macOSBigSur` UNIX Theme uses: actions/upload-artifact@v2 with: name: macOSBigSur path: macOSBigSur.tar.gz - - name: Uploading `macOSBigSur-White` UNIX Theme artifact + - name: Uploading `macOSMonterey` UNIX Theme + uses: actions/upload-artifact@v2 + with: + name: macOSMonterey + path: macOSMonterey.tar.gz + + - name: Uploading `macOSBigSur-White` UNIX Theme uses: actions/upload-artifact@v2 with: name: macOSBigSur-White path: macOSBigSur-White.tar.gz - - name: Uploading `macOSBigSur` Windows Theme artifact + - name: Uploading `macOSMonterey-White` UNIX Theme + uses: actions/upload-artifact@v2 + with: + name: macOSMonterey-White + path: macOSMonterey-White.tar.gz + + - name: Uploading `macOSBigSur` Windows Theme uses: actions/upload-artifact@v2 with: name: macOSBigSur-Windows path: themes/macOSBigSur-Windows/* - - name: Uploading `macOSBigSur-White` Windows Theme artifact + - name: Uploading `macOSMonterey` Windows Theme + uses: actions/upload-artifact@v2 + with: + name: macOSMonterey-Windows + path: themes/macOSMonterey-Windows/* + + - name: Uploading `macOSBigSur-White` Windows Theme uses: actions/upload-artifact@v2 with: name: macOSBigSur-White-Windows path: themes/macOSBigSur-White-Windows/* + + - name: Uploading `macOSMonterey-White` Windows Theme + uses: actions/upload-artifact@v2 + with: + name: macOSMonterey-White-Windows + path: themes/macOSMonterey-White-Windows/* diff --git a/CHANGELOG.md b/CHANGELOG.md index 886a76c..49ed2f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- macOSMonterey cursors added 🎊 fixed #66 - Generate master `bitmaps.zip` inside `bin` directory - `Makefile` binaries targets with variable - pling docs: size and support info updated diff --git a/Makefile b/Makefile index 7f8be27..118432f 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ clean: @rm -rf bitmaps themes render: bitmapper svg - @cd bitmapper && make install render_bigsur + @cd bitmapper && make install render_bigsur render_monterey build: bitmaps @cd builder && make setup build @@ -29,11 +29,19 @@ render_bigsur: bitmapper svg build_bigsur: bitmaps @cd builder && make setup build_bigsur +# macOS Monterey +monterey: clean render_monterey build_monterey + +render_monterey: bitmapper svg + @cd bitmapper && make install render_monterey + +build_monterey: bitmaps + @cd builder && make setup build_monterey # Installation .ONESHELL: SHELL:=/bin/bash -THEME_PREFIX = macOSBigSur +THEME_PREFIX = macOS src := ./themes/ @@ -48,24 +56,32 @@ install: $(src) @if [[ $EUID -ne 0 ]]; then @echo "> Installing '$(THEME_PREFIX)' cursors inside $(local)/..." @mkdir -p $(local) - @cp -r ./themes/$(THEME_PREFIX) $(local_dest) - @cp -r ./themes/$(THEME_PREFIX)-White $(local_dest) && echo "> Installed!" + @cp -r ./themes/$(THEME_PREFIX)BigSur $(local_dest) + @cp -r ./themes/$(THEME_PREFIX)BigSur -White $(local_dest) && echo "> Installed!" + @cp -r ./themes/$(THEME_PREFIX)Monterey $(local_dest) + @cp -r ./themes/$(THEME_PREFIX)Monterey -White $(local_dest) && echo "> Installed!" @else @echo "> Installing '$(THEME_PREFIX)' cursors inside $(root)/..." @mkdir -p $(root) - @sudo cp -r ./themes/$(THEME_PREFIX) $(root_dest) - @sudo cp -r ./themes/$(THEME_PREFIX)-White $(root_dest) && echo "> Installed!" + @sudo cp -r ./themes/$(THEME_PREFIX)BigSur $(root_dest) + @sudo cp -r ./themes/$(THEME_PREFIX)BigSur-White $(root_dest) && echo "> Installed!" + @sudo cp -r ./themes/$(THEME_PREFIX)Monterey $(root_dest) + @sudo cp -r ./themes/$(THEME_PREFIX)Monterey-White $(root_dest) && echo "> Installed!" @fi uninstall: @if [[ $EUID -ne 0 ]]; then @echo "> Removing '$(THEME_PREFIX)' from '$(local)'..." - @rm -rf $(local)/$(THEME_PREFIX) - @rm -rf $(local)/$(THEME_PREFIX)-White + @rm -rf $(local)/$(THEME_PREFIX)BigSur + @rm -rf $(local)/$(THEME_PREFIX)BigSur-White + @rm -rf $(local)/$(THEME_PREFIX)Monterey + @rm -rf $(local)/$(THEME_PREFIX)Monterey-White @else @echo "> Removing '$(THEME_PREFIX)' from '$(root)'..." - @rm -rf $(root)/$(THEME_PREFIX) - @rm -rf $(root)/$(THEME_PREFIX)-White + @rm -rf $(root)/$(THEME_PREFIX)BigSur + @rm -rf $(root)/$(THEME_PREFIX)BigSur-White + @rm -rf $(root)/$(THEME_PREFIX)Monterey + @rm -rf $(root)/$(THEME_PREFIX)Monterey-White @fi reinstall: uninstall install @@ -76,16 +92,24 @@ BIN_DIR = ../bin THEMES = White prepare: bitmaps themes @rm -rf bin - @mkdir -p bin/$(THEME_PREFIX) - @$(foreach theme,$(THEMES), mkdir -p bin/$(THEME_PREFIX)-$(theme);) + @mkdir -p bin/$(THEME_PREFIX)BigSur + @$(foreach theme,$(THEMES), mkdir -p bin/$(THEME_PREFIX)BigSur-$(theme);) + @mkdir -p bin/$(THEME_PREFIX)Monterey + @$(foreach theme,$(THEMES), mkdir -p bin/$(THEME_PREFIX)Monterey-$(theme);) @cd bitmaps - @zip -r $(BIN_DIR)/$(THEME_PREFIX)/bitmaps.zip $(THEME_PREFIX) - @$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)-$(theme)/bitmaps.zip $(THEME_PREFIX)-$(theme);) + @zip -r $(BIN_DIR)/$(THEME_PREFIX)BigSur/bitmaps.zip $(THEME_PREFIX)BigSur + @$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)BigSur-$(theme)/bitmaps.zip $(THEME_PREFIX)BigSur-$(theme);) + @zip -r $(BIN_DIR)/$(THEME_PREFIX)Monterey/bitmaps.zip $(THEME_PREFIX)Monterey + @$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)Monterey-$(theme)/bitmaps.zip $(THEME_PREFIX)Monterey-$(theme);) @zip -r $(BIN_DIR)/bitmaps.zip * @cd .. @cd themes - @tar -czvf $(BIN_DIR)/$(THEME_PREFIX)/$(THEME_PREFIX).tar.gz $(THEME_PREFIX) - @zip -r $(BIN_DIR)/$(THEME_PREFIX)/$(THEME_PREFIX)-Windows.zip $(THEME_PREFIX)-Windows - @$(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;) + @tar -czvf $(BIN_DIR)/$(THEME_PREFIX)BigSur/$(THEME_PREFIX)BigSur.tar.gz $(THEME_PREFIX)BigSur + @zip -r $(BIN_DIR)/$(THEME_PREFIX)BigSur/$(THEME_PREFIX)BigSur-Windows.zip $(THEME_PREFIX)BigSur-Windows + @tar -czvf $(BIN_DIR)/$(THEME_PREFIX)Monterey/$(THEME_PREFIX)Monterey.tar.gz $(THEME_PREFIX)Monterey + @zip -r $(BIN_DIR)/$(THEME_PREFIX)Monterey/$(THEME_PREFIX)Monterey-Windows.zip $(THEME_PREFIX)Monterey-Windows + @$(foreach theme,$(THEMES), tar -czvf $(BIN_DIR)/$(THEME_PREFIX)BigSur-$(theme)/$(THEME_PREFIX)BigSur-$(theme).tar.gz $(THEME_PREFIX)BigSur-$(theme);) + @$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)BigSur-$(theme)/$(THEME_PREFIX)BigSur-$(theme)-Windows.zip $(THEME_PREFIX)BigSur-$(theme)-Windows;) + @$(foreach theme,$(THEMES), tar -czvf $(BIN_DIR)/$(THEME_PREFIX)Monterey-$(theme)/$(THEME_PREFIX)Monterey-$(theme).tar.gz $(THEME_PREFIX)Monterey-$(theme);) + @$(foreach theme,$(THEMES), zip -r $(BIN_DIR)/$(THEME_PREFIX)Monterey-$(theme)/$(THEME_PREFIX)Monterey-$(theme)-Windows.zip $(THEME_PREFIX)Monterey-$(theme)-Windows;) @cd .. diff --git a/bitmapper/Makefile b/bitmapper/Makefile index fa660a5..c51c35f 100644 --- a/bitmapper/Makefile +++ b/bitmapper/Makefile @@ -15,4 +15,7 @@ install: node_modules package.json render_bigsur: @yarn render:bigsur -render: render_bigsur +render_monterey: + @yarn render:monterey + +render: render_bigsur render_monterey diff --git a/bitmapper/package.json b/bitmapper/package.json index ede21cb..6b642f8 100644 --- a/bitmapper/package.json +++ b/bitmapper/package.json @@ -7,7 +7,8 @@ "license": "GPL-3.0", "private": true, "scripts": { - "render:bigsur": "yarn workspace bigsur render" + "render:bigsur": "yarn workspace bigsur render", + "render:monterey": "yarn workspace monterey render" }, "workspaces": [ "packages/*" diff --git a/bitmapper/packages/monterey/package.json b/bitmapper/packages/monterey/package.json new file mode 100644 index 0000000..bfd2287 --- /dev/null +++ b/bitmapper/packages/monterey/package.json @@ -0,0 +1,17 @@ +{ + "name": "monterey", + "version": "1.2.2", + "description": "macOS Monterey cursors", + "main": "dist/index.js", + "scripts": { + "build": "npx tsc --build", + "render": "yarn build && node dist/index.js" + }, + "author": "Kaiz Khatri", + "license": "GPL-3.0", + "private": true, + "devDependencies": { + "ts-node": "^9.1.1", + "typescript": "^4.1.5" + } +} diff --git a/bitmapper/packages/monterey/src/config.ts b/bitmapper/packages/monterey/src/config.ts new file mode 100644 index 0000000..f76e114 --- /dev/null +++ b/bitmapper/packages/monterey/src/config.ts @@ -0,0 +1,28 @@ +import { Colors } from "core/src/types"; + +interface Config { + themeName: string; + color: Colors; +} + +const black = "#000000"; +const white = "#FFFFFF"; + +const config: Config[] = [ + { + themeName: "macOSMonterey", + color: { + base: black, + outline: white, + }, + }, + { + themeName: "macOSMonterey-White", + color: { + base: white, + outline: black, + }, + }, +]; + +export { config }; diff --git a/bitmapper/packages/monterey/src/index.ts b/bitmapper/packages/monterey/src/index.ts new file mode 100644 index 0000000..afcfc79 --- /dev/null +++ b/bitmapper/packages/monterey/src/index.ts @@ -0,0 +1,37 @@ +import path from "path"; + +import { BitmapsGenerator, SVGHandler } from "core"; +import { config } from "./config"; + +const root = path.resolve(__dirname, "../../../../"); +const svgDir = path.resolve(root, "svg", "monterey"); + +const main = async () => { + for (const { themeName, color } of config) { + console.log("=>", themeName); + + const bitmapsDir = path.resolve(root, "bitmaps", themeName); + const svg = new SVGHandler.SvgDirectoryParser(svgDir); + + const png = new BitmapsGenerator(bitmapsDir); + const browser = await png.getBrowser(); + + for (let { key, content } of svg.getStatic()) { + 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, "..."); + + content = SVGHandler.colorSvg(content, color); + await png.generateAnimated(browser, content, key); + } + + await browser.close(); + } +}; + +main(); diff --git a/bitmapper/packages/monterey/tsconfig.json b/bitmapper/packages/monterey/tsconfig.json new file mode 100644 index 0000000..8af1cf2 --- /dev/null +++ b/bitmapper/packages/monterey/tsconfig.json @@ -0,0 +1,10 @@ + +{ + "references": [{ "path": "../core" }], + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "src", + "outDir": "dist" + }, + "include": ["src"] +} diff --git a/builder/Makefile b/builder/Makefile index a058b83..e237698 100644 --- a/builder/Makefile +++ b/builder/Makefile @@ -15,19 +15,27 @@ THEMES = White setup: @python3 -m pip install clickgen --user -build: build_bigsur +build: build_bigsur build_monterey build_bigsur: build.py @python3 build.py -p "$(bitmaps_dir)/macOSBigSur" --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE) @$(foreach theme,$(THEMES), python3 build.py -p "$(bitmaps_dir)/macOSBigSur-$(theme)" --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE);) +build_monterey: build.py + @python3 build.py -p "$(bitmaps_dir)/macOSMonterey" --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE) + @$(foreach theme,$(THEMES), python3 build.py -p "$(bitmaps_dir)/macOSMonterey-$(theme)" --xsizes $(X_SIZES) --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE);) - -build_unix: build_bigsur_unix +build_unix: build_bigsur_unix build_monterey_unix build_bigsur_unix: build.py @python3 build.py unix -p "$(bitmaps_dir)/macOSBigSur" --xsizes $(X_SIZES) @$(foreach theme,$(THEMES), python3 build.py unix -p "$(bitmaps_dir)/macOSBigSur-$(theme)" --xsizes $(X_SIZES);) +build_monterey_unix: build.py + @python3 build.py unix -p "$(bitmaps_dir)/macOSMonterey" --xsizes $(X_SIZES) + @$(foreach theme,$(THEMES), python3 build.py unix -p "$(bitmaps_dir)/macOSMonterey-$(theme)" --xsizes $(X_SIZES);) -build_windows: build_bigsur_windows +build_windows: build_bigsur_windows build_monterey_windows build_bigsur_windows: build.py @python3 build.py windows -p "$(bitmaps_dir)/macOSBigSur" --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE) @$(foreach theme,$(THEMES), python3 build.py windows -p "$(bitmaps_dir)/macOSBigSur-$(theme)" --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE);) +build_monterey_windows: build.py + @python3 build.py windows -p "$(bitmaps_dir)/macOSMonterey" --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE) + @$(foreach theme,$(THEMES), python3 build.py windows -p "$(bitmaps_dir)/macOSMonterey-$(theme)" --win-size $(WIN_SIZE) --win-canvas-size $(WIN_CANVAS_SIZE);) From 19c064c63d1c2c9d68110d08f47534c5ec59342c Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 22 Nov 2021 17:36:55 +0530 Subject: [PATCH 6/7] docs updated for macOSMonterey --- README.md | 81 ++++++++++++++++----- bitmapper/package.json | 2 +- pling/{white.bbcode => bigsur-white.bbcode} | 4 +- pling/{default.bbcode => bigsur.bbcode} | 4 +- pling/monterey-white.bbcode | 37 ++++++++++ pling/monterey.bbcode | 37 ++++++++++ 6 files changed, 143 insertions(+), 22 deletions(-) rename pling/{white.bbcode => bigsur-white.bbcode} (93%) rename pling/{default.bbcode => bigsur.bbcode} (92%) create mode 100644 pling/monterey-white.bbcode create mode 100644 pling/monterey.bbcode diff --git a/README.md b/README.md index e180fd0..e14f7c9 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,58 @@ Enjoy macOS cursors for `Windows` and `Linux` with _HiDPI Support_ . - macOSBigSur: [https://www.pling.com/p/1408466](https://www.pling.com/p/1408466) - macOSBigSur-White: [https://www.pling.com/p/1616779](https://www.pling.com/p/1616779) +- macOSMonterey: [https://www.pling.com/p/1648124](https://www.pling.com/p/1648124) +- macOSMonterey-White: [https://www.pling.com/p/1648129](https://www.pling.com/p/1648129) + +#### Preview: + +> Check Figma file [here](https://www.figma.com/file/OZw8Ylb9xPFw9h1uZYSMFa/Mac-Cursor?node-id=0%3A1) + +

+ +
+ macOSMonterey Cursors +

+ +

+ +
+ macOSMonterey White Cursors +

+ +

+ +
+ macOSBigSur Cursors +

+ +

+ +
+ macOSBigSur White Cursors +

### Manual Install +> Note: replace name according package name. + #### Linux/X11 +##### macOSMonterey + +```bash +# extract `macOSMonterey.tar.gz` +tar -xvf macOSMonterey.tar.gz + +# For local users +mv macOSMonterey ~/.icons/ + +# For all users +sudo mv macOSMonterey /usr/share/icons/ +``` + +##### macOSBigSur + ```bash # extract `macOSBigSur.tar.gz` tar -xvf macOSBigSur.tar.gz @@ -54,28 +101,22 @@ sudo mv macOSBigSur /usr/share/icons/ #### Windows -1. unzip `macOSBigSur_Windows.zip` file -2. Open `macOSBigSur_Windows/` in Explorer, and **right click** on `install.inf`. +##### macOSMonterey + +1. unzip `macOSMonterey-Windows.zip` file +2. Open `macOSMonterey-Windows/` 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 **MacOSMonterey Cursors**. +5. Click '**Apply**'. + +##### macOSBigSur + +1. unzip `macOSBigSur-Windows.zip` file +2. Open `macOSBigSur-Windows/` 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 **MacOSBigSur Cursors**. 5. Click '**Apply**'. -#### Preview: - -> Check Figma file [here](https://www.figma.com/file/OZw8Ylb9xPFw9h1uZYSMFa/Mac-Cursor?node-id=0%3A1) - -

- -
- macOSBigSur Cursors -

- -

- -
- macOSBigSur White Cursors -

- # Dependencies ## External Libraries @@ -132,12 +173,14 @@ sudo dnf install libX11-devel libXcursor-devel libpng-devel ## Build From Scratch -### ⚡ Auto Build (using GitHub Actions) +### Auto Build (using GitHub Actions) GitHub Actions is automatically runs on every `push`(on **main** and **dev** branches) and `pull request`(on **main** branch), You found theme resources in `artifact` section of **build**.GitHub **Actions** source is available inside [.github/workflows](https://github.com/ful1e5/apple_cursor/tree/main/.github/workflows) directory. ### Manual Build +> Check **[Makefile](./Makefile)** for more targets. + ```bash make ``` diff --git a/bitmapper/package.json b/bitmapper/package.json index 6b642f8..8258467 100644 --- a/bitmapper/package.json +++ b/bitmapper/package.json @@ -1,6 +1,6 @@ { "name": "apple-cursor", - "version": "1.1.2", + "version": "1.2.2", "description": "OpenSource macOS cursors.", "main": "index.js", "author": "Kaiz Khatri", diff --git a/pling/white.bbcode b/pling/bigsur-white.bbcode similarity index 93% rename from pling/white.bbcode rename to pling/bigsur-white.bbcode index ebe37d2..1ae2d13 100644 --- a/pling/white.bbcode +++ b/pling/bigsur-white.bbcode @@ -5,8 +5,10 @@ Latest build: check [url=https://github.com/ful1e5/apple_cursor/actions]Actions[ Release Notification: [url=https://twitter.com/ful1e5]@ful1e5[/url] Custom Size build docs: [url=https://github.com/ful1e5/apple_cursor#manual-build]README.md#manual-build[/url] -[b]Looking for other macOSBigSur cursor themes?[/b] +[b]Looking for other macOS cursor themes?[/b] [url=https://www.pling.com/p/1408466]macOSBigSur[/url] +[url=https://www.pling.com/p/1648124]macOSMonterey[/url] +[url=https://www.pling.com/p/1648129]macOSMonterey White[/url] [b] Support Creator[/b] [url=https://liberapay.com/ful1e5][img]https://liberapay.com/assets/widgets/donate.svg[/img][/url] diff --git a/pling/default.bbcode b/pling/bigsur.bbcode similarity index 92% rename from pling/default.bbcode rename to pling/bigsur.bbcode index 7f446ce..1f0758c 100644 --- a/pling/default.bbcode +++ b/pling/bigsur.bbcode @@ -5,8 +5,10 @@ Latest build: check [url=https://github.com/ful1e5/apple_cursor/actions]Actions[ Release Notification: [url=https://twitter.com/ful1e5]@ful1e5[/url] Custom Size build docs: [url=https://github.com/ful1e5/apple_cursor#manual-build]README.md#manual-build[/url] -[b]Looking for other macOSBigSur cursor themes?[/b] +[b]Looking for other macOS cursor themes?[/b] [url=https://www.pling.com/p/1616779]macOSBigSur White[/url] +[url=https://www.pling.com/p/1648124]macOSMonterey[/url] +[url=https://www.pling.com/p/1648129]macOSMonterey White[/url] [b] Support Creator[/b] [url=https://liberapay.com/ful1e5][img]https://liberapay.com/assets/widgets/donate.svg[/img][/url] diff --git a/pling/monterey-white.bbcode b/pling/monterey-white.bbcode new file mode 100644 index 0000000..09cd5b3 --- /dev/null +++ b/pling/monterey-white.bbcode @@ -0,0 +1,37 @@ +macOSMonterey White cursor theme for Windows and Linux with [b]HiDPI[/b] display support. 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]. This cursor theme support [b]22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96[/b] size. Check [url=https://github.com/ful1e5/apple_cursor#manual-build]README.md[/url] for create custom size theme. You also download and test upcoming version from [url=https://github.com/ful1e5/apple_cursor/actions]GitHub Actions[/url] section. Follow me on [url=https://twitter.com/ful1e5]Twitter[/url] for more updates. + +Available Sizes: 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96 +Latest build: check [url=https://github.com/ful1e5/apple_cursor/actions]Actions[/url][/b] tab on GitHub. +Release Notification: [url=https://twitter.com/ful1e5]@ful1e5[/url] +Custom Size build docs: [url=https://github.com/ful1e5/apple_cursor#manual-build]README.md#manual-build[/url] + +[b]Looking for other macOS cursor themes?[/b] +[url=https://www.pling.com/p/1648124]macOSMonterey[/url] +[url=https://www.pling.com/p/1408466]macOSBigSur[/url] +[url=https://www.pling.com/p/1616779]macOSBigSur White[/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 macOSMonterey-White ~/.icons # install as local +sudo mv macOSMonterey-White /usr/share/icons # install as root +[/code] + +[b]Linux Uninstall[/b] +[code] +rm -r ~/.icons/macOSMonterey-White # remove from local +sudo rm -r /usr/share/icons/macOSMonterey-White # remove from root +[/code] + +[b]Window Install[/b] +[1] unzip [b]macOSMonterey-White-Windows.zip[/b] file. +[2] Open [b]macOSMonterey-White-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]macOSMonterey-White Cursors[/b]. +[5] Click '[b]Apply[/b]'. + +[b]License & Terms[/b] +'apple_cursor' is available under the terms of the 'GPL-3.0' license. diff --git a/pling/monterey.bbcode b/pling/monterey.bbcode new file mode 100644 index 0000000..db991b4 --- /dev/null +++ b/pling/monterey.bbcode @@ -0,0 +1,37 @@ +macOSMonterey cursor theme for Windows and Linux with [b]HiDPI[/b] display support. 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]. This cursor theme support [b]22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96[/b] size. Check [url=https://github.com/ful1e5/apple_cursor#manual-build]README.md[/url] for create custom size theme. You also download and test upcoming version from [url=https://github.com/ful1e5/apple_cursor/actions]GitHub Actions[/url] section. Follow me on [url=https://twitter.com/ful1e5]Twitter[/url] for more updates. + +Available Sizes: 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96 +Latest build: check [url=https://github.com/ful1e5/apple_cursor/actions]Actions[/url][/b] tab on GitHub. +Release Notification: [url=https://twitter.com/ful1e5]@ful1e5[/url] +Custom Size build docs: [url=https://github.com/ful1e5/apple_cursor#manual-build]README.md#manual-build[/url] + +[b]Looking for other macOS cursor themes?[/b] +[url=https://www.pling.com/p/1648129]macOSMonterey White[/url] +[url=https://www.pling.com/p/1408466]macOSBigSur[/url] +[url=https://www.pling.com/p/1616779]macOSBigSur White[/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 macOSMonterey ~/.icons # install as local +sudo mv macOSMonterey /usr/share/icons # install as root +[/code] + +[b]Linux Uninstall[/b] +[code] +rm -r ~/.icons/macOSMonterey # remove from local +sudo rm -r /usr/share/icons/macOSMonterey # remove from root +[/code] + +[b]Window Install[/b] +[1] unzip [b]macOSMonterey-Windows.zip[/b] file. +[2] Open [b]macOSMonterey-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]macOSMonterey Cursors[/b]. +[5] Click '[b]Apply[/b]'. + +[b]License & Terms[/b] +'apple_cursor' is available under the terms of the 'GPL-3.0' license. From bdbbbd9d77f4242b6d55df348031c06fc0ac2637 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 22 Nov 2021 17:41:26 +0530 Subject: [PATCH 7/7] release: prepare v1.2.3 --- CHANGELOG.md | 2 ++ bitmapper/package.json | 2 +- bitmapper/packages/bigsur/package.json | 2 +- bitmapper/packages/core/package.json | 2 +- bitmapper/packages/monterey/package.json | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49ed2f0..f0acb7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +## [v1.2.3] - 23 Nov 2021 + ### Added - macOSMonterey cursors added 🎊 fixed #66 diff --git a/bitmapper/package.json b/bitmapper/package.json index 8258467..7980074 100644 --- a/bitmapper/package.json +++ b/bitmapper/package.json @@ -1,6 +1,6 @@ { "name": "apple-cursor", - "version": "1.2.2", + "version": "1.2.3", "description": "OpenSource macOS cursors.", "main": "index.js", "author": "Kaiz Khatri", diff --git a/bitmapper/packages/bigsur/package.json b/bitmapper/packages/bigsur/package.json index 780a719..57a7750 100644 --- a/bitmapper/packages/bigsur/package.json +++ b/bitmapper/packages/bigsur/package.json @@ -1,6 +1,6 @@ { "name": "bigsur", - "version": "1.2.2", + "version": "1.2.3", "description": "macOS Big Sur cursors", "main": "dist/index.js", "scripts": { diff --git a/bitmapper/packages/core/package.json b/bitmapper/packages/core/package.json index 96e8464..0c51d32 100644 --- a/bitmapper/packages/core/package.json +++ b/bitmapper/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "core", - "version": "1.2.2", + "version": "1.2.3", "description": "Apple Cursor bitmapper's core modules", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/bitmapper/packages/monterey/package.json b/bitmapper/packages/monterey/package.json index bfd2287..45a37d1 100644 --- a/bitmapper/packages/monterey/package.json +++ b/bitmapper/packages/monterey/package.json @@ -1,6 +1,6 @@ { "name": "monterey", - "version": "1.2.2", + "version": "1.2.3", "description": "macOS Monterey cursors", "main": "dist/index.js", "scripts": {