galaaz 2.1.10.pre.3 → 2.1.10.pre.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/galaaz/cli.rb +1 -1
- data/logos/icon-font/README.md +4 -1
- data/logos/icon-font/build_font.py +9 -6
- data/script/omarchy/README.md +1 -1
- data/script/omarchy/fonts/galaaz.ttf +0 -0
- data/script/omarchy/omarchy-menu.jsonc +13 -12
- data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3ee446f657b5eac4bb8ef351c3a7adbe0246b8d750288bffab68c43e83e10bf
|
|
4
|
+
data.tar.gz: e00e643ae69cc1fae159706c6b06b8e9c291e4060814b5b3feafc4abb722454c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a6fac11ad1080ebb3d4161fb228f5c259dfe979562842d3284af368538fec452f2a3ee78074dcca444f9889f4f3808a86d4e4d9b616805ff4cc0281c9e7400c
|
|
7
|
+
data.tar.gz: 87e43043e7bc22a13e96a691c23e9b9410655ec3b4df22c99766177cf5c9b08961ade4b27e6894ee777c13113abeab23bbd27c719d785f7079091c5ff2b1f36c
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 2.1.10.pre.4
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Omarchy brand icon moved from **U+E900 → U+E920**. E900–E90D belong to
|
|
10
|
+
Omarchy’s own private font (waybar `\ue900`); using E900 made the menu show
|
|
11
|
+
Omarchy’s mark whenever `iconFont: galaaz` failed to win.
|
|
12
|
+
|
|
5
13
|
## 2.1.10.pre.3
|
|
6
14
|
|
|
7
15
|
### Fixed
|
data/lib/galaaz/cli.rb
CHANGED
|
@@ -268,7 +268,7 @@ module Galaaz
|
|
|
268
268
|
FileUtils.mkdir_p(fonts)
|
|
269
269
|
dest = File.join(fonts, 'galaaz.ttf')
|
|
270
270
|
FileUtils.cp(src, dest)
|
|
271
|
-
puts "galaaz omarchy: #{dest} (family #{OMARCHY_FONT_FAMILY}, U+
|
|
271
|
+
puts "galaaz omarchy: #{dest} (family #{OMARCHY_FONT_FAMILY}, U+E920)"
|
|
272
272
|
if command_present?('fc-cache')
|
|
273
273
|
system('fc-cache', '-r')
|
|
274
274
|
system('fc-cache', '-f', fonts)
|
data/logos/icon-font/README.md
CHANGED
|
@@ -4,7 +4,10 @@ Private TrueType font (`family: galaaz`) with one private-use glyph:
|
|
|
4
4
|
|
|
5
5
|
| Codepoint | Name | Role |
|
|
6
6
|
|-----------|------|------|
|
|
7
|
-
| `U+
|
|
7
|
+
| `U+E920` | `galaaz` | Monochrome R + gem cutout for Install menu rows |
|
|
8
|
+
|
|
9
|
+
Do **not** reuse `U+E900` — Omarchy's private font already maps E900–E90D
|
|
10
|
+
(waybar logo is `\ue900`).
|
|
8
11
|
|
|
9
12
|
## Sources
|
|
10
13
|
|
|
@@ -18,7 +18,9 @@ ROOT = Path(__file__).resolve().parents[2]
|
|
|
18
18
|
SVG = ROOT / "logos" / "icon-font" / "galaaz-mark.svg"
|
|
19
19
|
OUT = ROOT / "script" / "omarchy" / "fonts" / "galaaz.ttf"
|
|
20
20
|
PREVIEW_DIR = ROOT / "logos" / "icon-font" / "preview"
|
|
21
|
-
|
|
21
|
+
# NOT U+E900: Omarchy's own brand font already owns E900–E90D (waybar logo).
|
|
22
|
+
# Using that slot makes fallback look like Omarchy's mark, not Galaaz.
|
|
23
|
+
CODEPOINT = 0xE920
|
|
22
24
|
# Gem cutout must stay visible at menu size (~16px). Tiny holes collapse.
|
|
23
25
|
MIN_HOLE_AREA_RATIO = 0.04
|
|
24
26
|
|
|
@@ -85,11 +87,12 @@ def write_previews(ttf_path: Path) -> None:
|
|
|
85
87
|
img = Image.new("RGBA", (canvas, canvas), (30, 30, 30, 255))
|
|
86
88
|
draw = ImageDraw.Draw(img)
|
|
87
89
|
font = ImageFont.truetype(str(ttf_path), size)
|
|
88
|
-
|
|
90
|
+
ch = chr(CODEPOINT)
|
|
91
|
+
bbox = draw.textbbox((0, 0), ch, font=font)
|
|
89
92
|
w, h = bbox[2] - bbox[0], bbox[3] - bbox[1]
|
|
90
93
|
x = (canvas - w) // 2 - bbox[0]
|
|
91
94
|
y = (canvas - h) // 2 - bbox[1]
|
|
92
|
-
draw.text((x, y),
|
|
95
|
+
draw.text((x, y), ch, font=font, fill=(230, 230, 230, 255))
|
|
93
96
|
out = PREVIEW_DIR / f"glyph_{size}.png"
|
|
94
97
|
img.save(out)
|
|
95
98
|
print(f" preview: {out}")
|
|
@@ -126,12 +129,12 @@ def main() -> int:
|
|
|
126
129
|
{
|
|
127
130
|
"familyName": "galaaz",
|
|
128
131
|
"styleName": "Regular",
|
|
129
|
-
"uniqueFontIdentifier": "galaaz Regular",
|
|
132
|
+
"uniqueFontIdentifier": "galaaz Regular 1.002 U+E920",
|
|
130
133
|
"fullName": "galaaz Regular",
|
|
131
134
|
"psName": "galaaz-Regular",
|
|
132
|
-
"version": "Version 1.
|
|
135
|
+
"version": "Version 1.002",
|
|
133
136
|
"manufacturer": "Galaaz",
|
|
134
|
-
"description": "Monochrome Galaaz mark for Omarchy menu rows (U+
|
|
137
|
+
"description": "Monochrome Galaaz mark for Omarchy menu rows (U+E920).",
|
|
135
138
|
}
|
|
136
139
|
)
|
|
137
140
|
OUT.parent.mkdir(parents=True, exist_ok=True)
|
data/script/omarchy/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Then Super+Space → Install → Development → **Galaaz**.
|
|
|
31
31
|
| `debug-galaaz.sh` | Snapshot doctor/PATH/gem/bridge |
|
|
32
32
|
| `remove-galaaz.sh` | Uninstall gem + marked blogs; leave R |
|
|
33
33
|
| `omarchy-menu.jsonc` | Menu overlay submenu under Install → Development |
|
|
34
|
-
| `fonts/galaaz.ttf` | Monochrome brand mark (`iconFont: galaaz`, U+E900) |
|
|
34
|
+
| `fonts/galaaz.ttf` | Monochrome brand mark (`iconFont: galaaz`, U+E920; not E900) |
|
|
35
35
|
|
|
36
36
|
Menu rows use the Galaaz icon font (not the Ruby-on-Rails Nerd Font gem). Source SVG
|
|
37
37
|
and rebuild script live under `logos/icon-font/`.
|
|
Binary file
|
|
@@ -5,19 +5,20 @@
|
|
|
5
5
|
// Use ~/.local/bin/galaaz (installer wrapper). Do not quote the whole
|
|
6
6
|
// "galaaz add …" as one word — omarchy-launch-tui then does nothing useful.
|
|
7
7
|
//
|
|
8
|
-
// Brand mark:
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
//
|
|
8
|
+
// Brand mark: U+E920 (\uE920) + iconFont "galaaz".
|
|
9
|
+
// Do NOT use U+E900 — that slot is Omarchy's own logo (waybar \ue900,
|
|
10
|
+
// private font family "omarchy", range E900–E90D). Fallback without our
|
|
11
|
+
// font then shows Omarchy's mark, not Galaaz.
|
|
12
|
+
// TTF: script/omarchy/fonts/galaaz.ttf → ~/.local/share/fonts/galaaz/
|
|
12
13
|
|
|
13
14
|
"install.development.galaaz": {
|
|
14
|
-
"icon": "\
|
|
15
|
+
"icon": "\uE920",
|
|
15
16
|
"iconFont": "galaaz",
|
|
16
17
|
"label": "Galaaz",
|
|
17
18
|
"description": "R on Rails"
|
|
18
19
|
},
|
|
19
20
|
"install.development.galaaz.core": {
|
|
20
|
-
"icon": "\
|
|
21
|
+
"icon": "\uE920",
|
|
21
22
|
"iconFont": "galaaz",
|
|
22
23
|
"label": "Galaaz (core)",
|
|
23
24
|
"description": "gem + setup + blogs (not just gem install)",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"when": "test -f ~/.config/galaaz/profiles/core"
|
|
47
48
|
},
|
|
48
49
|
"install.development.galaaz.knit": {
|
|
49
|
-
"icon": "\
|
|
50
|
+
"icon": "\uE920",
|
|
50
51
|
"iconFont": "galaaz",
|
|
51
52
|
"label": "Knit (HTML + PDF blogs)",
|
|
52
53
|
"description": "pandoc + knitr/rmarkdown + TinyTeX",
|
|
@@ -54,28 +55,28 @@
|
|
|
54
55
|
"disabled": "test -f ~/.config/galaaz/profiles/knit"
|
|
55
56
|
},
|
|
56
57
|
"install.development.galaaz.arrow": {
|
|
57
|
-
"icon": "\
|
|
58
|
+
"icon": "\uE920",
|
|
58
59
|
"iconFont": "galaaz",
|
|
59
60
|
"label": "Arrow",
|
|
60
61
|
"action": "omarchy-launch-tui omarchy-galaaz-add arrow",
|
|
61
62
|
"disabled": "test -f ~/.config/galaaz/profiles/arrow"
|
|
62
63
|
},
|
|
63
64
|
"install.development.galaaz.bio": {
|
|
64
|
-
"icon": "\
|
|
65
|
+
"icon": "\uE920",
|
|
65
66
|
"iconFont": "galaaz",
|
|
66
67
|
"label": "Bioconductor (DESeq2)",
|
|
67
68
|
"action": "omarchy-launch-tui omarchy-galaaz-add bio",
|
|
68
69
|
"disabled": "test -f ~/.config/galaaz/profiles/bio"
|
|
69
70
|
},
|
|
70
71
|
"install.development.galaaz.examples": {
|
|
71
|
-
"icon": "\
|
|
72
|
+
"icon": "\uE920",
|
|
72
73
|
"iconFont": "galaaz",
|
|
73
74
|
"label": "Examples",
|
|
74
75
|
"action": "omarchy-launch-tui omarchy-galaaz-add examples",
|
|
75
76
|
"disabled": "test -f ~/.config/galaaz/profiles/examples"
|
|
76
77
|
},
|
|
77
78
|
"install.development.galaaz.ledger": {
|
|
78
|
-
"icon": "\
|
|
79
|
+
"icon": "\uE920",
|
|
79
80
|
"iconFont": "galaaz",
|
|
80
81
|
"label": "Ledger (R-on-Rails demo)",
|
|
81
82
|
"description": "Clone app, seed, bin/dev",
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
"disabled": "test -f ~/.config/galaaz/profiles/ledger"
|
|
84
85
|
},
|
|
85
86
|
"remove.development.galaaz": {
|
|
86
|
-
"icon": "\
|
|
87
|
+
"icon": "\uE920",
|
|
87
88
|
"iconFont": "galaaz",
|
|
88
89
|
"label": "Galaaz",
|
|
89
90
|
"description": "Core gem (add-on R packages stay)",
|
data/version.rb
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$gem_name = "galaaz"
|
|
2
|
-
$version="2.1.10.pre.
|
|
2
|
+
$version="2.1.10.pre.4"
|