galaaz 2.1.10.pre.11 → 2.1.10.pre.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c6e5538cdeaa44c40722428b72b0c9a6d55bee737fa6a579fadf182b1ad8b47
4
- data.tar.gz: 9ce0f88379ebe67c0ee7bde0ab3f98a56febcd9ddea6a6ccdaa86699a2dc4e68
3
+ metadata.gz: 6665ae78ae4ac12fe5d30973d5917c1a9e8df18a686d0c826069748e75e40e64
4
+ data.tar.gz: 4be07e49ccc107e8309f09040224b655abcf19c78a6086e7ab2b403823e2af79
5
5
  SHA512:
6
- metadata.gz: 757a94a4e92815ba98cd7f68f5b635c1cc176ac1713a988da9d037c770aacd2e1286d6ea5f179f23c435e9d1a710003e1679da472783127c973977cd616cfe77
7
- data.tar.gz: 6a133ef2d20c726a16646022176a6c4d5c92521e5653a3695a7f5cfe51cd76e22f7d36cfe9026125a47b0107164fd90d9b37f366558340686b996a2512fa9383
6
+ metadata.gz: 0346baa6c821cbc710611ff6952231ad851055b8bc5012a6831d7e254f6dd5814f922b4dae2f7d3f5a6983d398b150925809ff571e0026f0f6f288b899576701
7
+ data.tar.gz: 6c2c7cbe579833af89499db3471034c6fc98977082da5f13119984916dedc278d50174c3e2cc563af026f595fc1d7b7e201441facfaeaafc8586a43c741cfd42
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.1.10.pre.12
6
+
7
+ ### Fixed
8
+
9
+ - Omarchy menu guards: use `$HOME` + `[[ ]]` (stock Omarchy style). Prior
10
+ `test -f ~/.config/...` checks failed in the menu guard batcher, so only
11
+ **Galaaz (core)** appeared and add-ons never showed; brand glyph path also
12
+ refreshed on core/omarchy install (`omarchy-with-galaaz.ttf` + fc-cache).
13
+ - Install catalog: add-on rows are visible before core (each hides when its
14
+ own profile exists); `galaaz add` still requires core.
15
+
5
16
  ## 2.1.10.pre.11
6
17
 
7
18
  ### Changed
@@ -277,11 +277,12 @@ fi
277
277
  if [[ -f "${SCRIPT_DIR}/fonts/omarchy-with-galaaz.ttf" ]]; then
278
278
  mkdir -p "${HOME}/.local/share/fonts" "${HOME}/.config/fontconfig/conf.d"
279
279
  cp "${SCRIPT_DIR}/fonts/omarchy-with-galaaz.ttf" "${HOME}/.local/share/fonts/omarchy-with-galaaz.ttf"
280
- cat >"${HOME}/.config/fontconfig/conf.d/99-galaaz-omarchy-brand.conf" <<'XML'
280
+ cat >"${HOME}/.config/fontconfig/conf.d/99-galaaz-omarchy-brand.conf" <<XML
281
281
  <?xml version="1.0"?>
282
282
  <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
283
283
  <fontconfig>
284
284
  <!-- Prefer Galaaz-extended Omarchy brand font (adds U+E90E). -->
285
+ <dir>${HOME}/.local/share/fonts</dir>
285
286
  <selectfont>
286
287
  <rejectfont>
287
288
  <glob>*/omarchy/omarchy.ttf</glob>
@@ -290,6 +291,14 @@ if [[ -f "${SCRIPT_DIR}/fonts/omarchy-with-galaaz.ttf" ]]; then
290
291
  </fontconfig>
291
292
  XML
292
293
  log "menu font (family omarchy + U+E90E): ${HOME}/.local/share/fonts/omarchy-with-galaaz.ttf"
294
+ if command -v fc-list >/dev/null 2>&1; then
295
+ fc-cache -f "${HOME}/.local/share/fonts" >/dev/null 2>&1 || true
296
+ if fc-list : file family 2>/dev/null | grep -q 'omarchy-with-galaaz.ttf'; then
297
+ log "fontconfig sees omarchy-with-galaaz.ttf"
298
+ else
299
+ log "WARN: omarchy-with-galaaz.ttf not listed by fc-list yet (logout/restart shell if icon missing)"
300
+ fi
301
+ fi
293
302
  fi
294
303
  if command -v fc-cache >/dev/null 2>&1; then
295
304
  fc-cache -r >/dev/null 2>&1 || true
@@ -11,9 +11,10 @@
11
11
  // ~/.local/share/fonts/omarchy-with-galaaz.ttf. A separate family "galaaz"
12
12
  // alone shows missing-glyph tofu in Qt — do not use iconFont "galaaz" here.
13
13
  //
14
- // Install rows use when: (hide when already installed), matching Omarchy Rails.
15
- // Guide / Docs / GitHub live under Learn Galaaz (not Install).
16
- // Remove uses when: so it appears only while core is present.
14
+ // Install: when: hides a row after that profile is installed (full catalog
15
+ // stays visible until each item is done). Use $HOME + [[ ]] like stock Omarchy
16
+ // bare ~ in test -f is unreliable in the menu guard batcher.
17
+ // Guide / Docs / GitHub: Learn → Galaaz. Remove: only while core present.
17
18
 
18
19
  "learn.galaaz": {
19
20
  "icon": "\uE90E",
@@ -52,7 +53,7 @@
52
53
  "label": "Galaaz (core)",
53
54
  "description": "setup + blogs (gem already installed)",
54
55
  "action": "omarchy-launch-tui omarchy-install-galaaz",
55
- "when": "test ! -f ~/.config/galaaz/profiles/core"
56
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/core ]]"
56
57
  },
57
58
  "install.development.galaaz.knit": {
58
59
  "icon": "\uE90E",
@@ -60,7 +61,7 @@
60
61
  "label": "Knit (HTML + PDF blogs)",
61
62
  "description": "pandoc + knitr/rmarkdown + TinyTeX",
62
63
  "action": "omarchy-launch-tui omarchy-galaaz-add knit",
63
- "when": "test -f ~/.config/galaaz/profiles/core && test ! -f ~/.config/galaaz/profiles/knit"
64
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/knit ]]"
64
65
  },
65
66
  "install.development.galaaz.arrow-r": {
66
67
  "icon": "\uE90E",
@@ -68,7 +69,7 @@
68
69
  "label": "Arrow (R only)",
69
70
  "description": "CRAN arrow via Apache prebuilt libarrow",
70
71
  "action": "omarchy-launch-tui omarchy-galaaz-add arrow-r",
71
- "when": "test -f ~/.config/galaaz/profiles/core && test ! -f ~/.config/galaaz/profiles/arrow-r && test ! -f ~/.config/galaaz/profiles/arrow"
72
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/arrow-r && ! -f $HOME/.config/galaaz/profiles/arrow ]]"
72
73
  },
73
74
  "install.development.galaaz.arrow-ruby": {
74
75
  "icon": "\uE90E",
@@ -76,29 +77,28 @@
76
77
  "label": "Arrow (Ruby)",
77
78
  "description": "R arrow + arrow-glib / red-arrow (installs R only first)",
78
79
  "action": "omarchy-launch-tui omarchy-galaaz-add arrow-ruby",
79
- "when": "test -f ~/.config/galaaz/profiles/core && test ! -f ~/.config/galaaz/profiles/arrow-ruby && test ! -f ~/.config/galaaz/profiles/arrow"
80
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/arrow-ruby && ! -f $HOME/.config/galaaz/profiles/arrow ]]"
80
81
  },
81
82
  "install.development.galaaz.arrow-debug": {
82
83
  "icon": "\uE90E",
83
84
  "iconFont": "omarchy",
84
85
  "label": "Arrow debug",
85
86
  "description": "Diagnose R-only / Ruby Arrow; show logs if install crashed",
86
- "action": "omarchy-launch-tui omarchy-galaaz-arrow-debug status",
87
- "when": "test -f ~/.config/galaaz/profiles/core"
87
+ "action": "omarchy-launch-tui omarchy-galaaz-arrow-debug status"
88
88
  },
89
89
  "install.development.galaaz.bio": {
90
90
  "icon": "\uE90E",
91
91
  "iconFont": "omarchy",
92
92
  "label": "Bioconductor (DESeq2)",
93
93
  "action": "omarchy-launch-tui omarchy-galaaz-add bio",
94
- "when": "test -f ~/.config/galaaz/profiles/core && test ! -f ~/.config/galaaz/profiles/bio"
94
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/bio ]]"
95
95
  },
96
96
  "install.development.galaaz.examples": {
97
97
  "icon": "\uE90E",
98
98
  "iconFont": "omarchy",
99
99
  "label": "Examples",
100
100
  "action": "omarchy-launch-tui omarchy-galaaz-add examples",
101
- "when": "test -f ~/.config/galaaz/profiles/core && test ! -f ~/.config/galaaz/profiles/examples"
101
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/examples ]]"
102
102
  },
103
103
  "install.development.galaaz.ledger": {
104
104
  "icon": "\uE90E",
@@ -106,7 +106,7 @@
106
106
  "label": "Ledger (R-on-Rails demo)",
107
107
  "description": "Clone app, seed, bin/dev",
108
108
  "action": "omarchy-launch-tui omarchy-galaaz-add ledger",
109
- "when": "test -f ~/.config/galaaz/profiles/core && test ! -f ~/.config/galaaz/profiles/ledger"
109
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/ledger ]]"
110
110
  },
111
111
  "remove.development.galaaz": {
112
112
  "icon": "\uE90E",
@@ -114,6 +114,6 @@
114
114
  "label": "Galaaz",
115
115
  "description": "Core gem (add-on R packages stay)",
116
116
  "action": "omarchy-launch-tui omarchy-remove-galaaz",
117
- "when": "test -f ~/.config/galaaz/profiles/core"
117
+ "when": "[[ -f $HOME/.config/galaaz/profiles/core ]]"
118
118
  }
119
119
  }
data/version.rb CHANGED
@@ -1,2 +1,2 @@
1
1
  $gem_name = "galaaz"
2
- $version="2.1.10.pre.11"
2
+ $version="2.1.10.pre.12"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: galaaz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.10.pre.11
4
+ version: 2.1.10.pre.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Botafogo