galaaz 2.1.10.pre.10 → 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: 6c17cdef4fee4cef82633cf115d082b71a23f8bc6c837a144cb9377113b4b86a
4
- data.tar.gz: 667874709ce613f990909eea6d952270c26019df5d0a21492addcb752c5cae4e
3
+ metadata.gz: 6665ae78ae4ac12fe5d30973d5917c1a9e8df18a686d0c826069748e75e40e64
4
+ data.tar.gz: 4be07e49ccc107e8309f09040224b655abcf19c78a6086e7ab2b403823e2af79
5
5
  SHA512:
6
- metadata.gz: e48c834304c88e05905e7a33a5e3bedb8e11447459cfa5688c70848fb475b17ce115de36440a75106508bebba858eab3c73757aab7a6f8614e7292428df34711
7
- data.tar.gz: 1111967bc3b3b7ac1de61209889015e5ba5fb3a9bd8a39d983e52273aa9a1f7e2388fcd9b18568a888ad927c6e87cb5df70e7d049ebc6d20184cfa2dadece36c
6
+ metadata.gz: 0346baa6c821cbc710611ff6952231ad851055b8bc5012a6831d7e254f6dd5814f922b4dae2f7d3f5a6983d398b150925809ff571e0026f0f6f288b899576701
7
+ data.tar.gz: 6c2c7cbe579833af89499db3471034c6fc98977082da5f13119984916dedc278d50174c3e2cc563af026f595fc1d7b7e201441facfaeaafc8586a43c741cfd42
data/CHANGELOG.md CHANGED
@@ -2,6 +2,27 @@
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
+
16
+ ## 2.1.10.pre.11
17
+
18
+ ### Changed
19
+
20
+ - Omarchy menu: Install rows **hide** after install (`when:` negated profile
21
+ checks, same as Rails) instead of dimming with `disabled:`.
22
+ - Omarchy menu: Guide / Documentation / GitHub move to **Learn → Galaaz**;
23
+ Install → Development → Galaaz keeps core, add-ons, and Arrow debug only.
24
+ Remove → Galaaz shows only while core is present.
25
+
5
26
  ## 2.1.10.pre.10
6
27
 
7
28
  ### Changed
data/lib/galaaz/cli.rb CHANGED
@@ -673,7 +673,7 @@ module Galaaz
673
673
  puts ' gknit ~/galaaz-blogs/gknit/gknit.Rmd'
674
674
  puts 'Docs: https://rbotafogo.github.io/galaaz/'
675
675
  puts ' https://github.com/rbotafogo/galaaz'
676
- puts 'Omarchy menu: Guide (what\'s next) · Knit demo (oh_my)'
676
+ puts 'Omarchy: Learn → Galaaz → Guide · Install → Galaaz → Knit (then knit demo)'
677
677
  0
678
678
  end
679
679
 
@@ -36,7 +36,8 @@ Then Super+Space → Install → Development → **Galaaz** → **Galaaz (core)*
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/`.
38
38
 
39
- After core, the menu includes **Guide (what's next)**, **Documentation (website)**, and **GitHub repository**. After Knit, **Knit demo (oh_my)** runs an example blog.
39
+ After core, use **Learn → Galaaz** for Guide / Documentation / GitHub. After Knit,
40
+ **Knit demo (oh_my)** runs an example blog (Install still has add-ons).
40
41
 
41
42
  Docs: https://rbotafogo.github.io/galaaz/ · https://github.com/rbotafogo/galaaz
42
43
 
@@ -66,7 +66,8 @@ Other add-ons
66
66
  galaaz add bio # Bioconductor DESeq2 (large)
67
67
 
68
68
  Check: galaaz doctor
69
- Menu: Super+Space → Install → Development → Galaaz
69
+ Menu: Super+Space → Learn → Galaaz (Guide / Docs / GitHub)
70
+ Super+Space → Install → Development → Galaaz (add-ons)
70
71
 
71
72
  Heavy CRAN installs / long R (gem 2.1.8+): R::Job keeps the bridge free.
72
73
  See README → “Background R jobs (R::Job)” (${DOCS_README})
@@ -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
@@ -347,7 +356,7 @@ date -Iseconds >"${HOME}/.config/galaaz/profiles/core"
347
356
 
348
357
  log ""
349
358
  log "Core configure complete."
350
- log "Next: Super+Space → Install → Development → Galaaz → Guide (what's next)"
359
+ log "Next: Super+Space → Learn → Galaaz → Guide (what's next)"
351
360
  log "Docs: https://rbotafogo.github.io/galaaz/"
352
361
  log "FULL LOG: ${LOG}"
353
362
  log "Done!"
@@ -10,41 +10,50 @@
10
10
  // is that font plus our R+gem at E90E, installed to
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
+ //
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.
13
18
 
14
- "install.development.galaaz": {
19
+ "learn.galaaz": {
15
20
  "icon": "\uE90E",
16
21
  "iconFont": "omarchy",
17
22
  "label": "Galaaz",
18
23
  "description": "R on Rails"
19
24
  },
20
- "install.development.galaaz.core": {
21
- "icon": "\uE90E",
22
- "iconFont": "omarchy",
23
- "label": "Galaaz (core)",
24
- "description": "setup + blogs (gem already installed)",
25
- "action": "omarchy-launch-tui omarchy-install-galaaz",
26
- "disabled": "test -f ~/.config/galaaz/profiles/core"
27
- },
28
- "install.development.galaaz.guide": {
25
+ "learn.galaaz.guide": {
29
26
  "icon": "󰋗",
30
27
  "label": "Guide (what's next)",
31
28
  "description": "Example knits, docs links, add-ons",
32
- "action": "omarchy-launch-tui omarchy-galaaz-guide",
33
- "when": "test -f ~/.config/galaaz/profiles/core"
29
+ "action": "omarchy-launch-tui omarchy-galaaz-guide"
34
30
  },
35
- "install.development.galaaz.docs": {
31
+ "learn.galaaz.docs": {
36
32
  "icon": "󰂺",
37
33
  "label": "Documentation (website)",
38
34
  "description": "Open rbotafogo.github.io/galaaz",
39
- "action": "omarchy-launch-webapp https://rbotafogo.github.io/galaaz/",
40
- "when": "test -f ~/.config/galaaz/profiles/core"
35
+ "action": "omarchy-launch-webapp https://rbotafogo.github.io/galaaz/"
41
36
  },
42
- "install.development.galaaz.github": {
37
+ "learn.galaaz.github": {
43
38
  "icon": "󰊤",
44
39
  "label": "GitHub repository",
45
40
  "description": "Open github.com/rbotafogo/galaaz",
46
- "action": "omarchy-launch-webapp https://github.com/rbotafogo/galaaz",
47
- "when": "test -f ~/.config/galaaz/profiles/core"
41
+ "action": "omarchy-launch-webapp https://github.com/rbotafogo/galaaz"
42
+ },
43
+
44
+ "install.development.galaaz": {
45
+ "icon": "\uE90E",
46
+ "iconFont": "omarchy",
47
+ "label": "Galaaz",
48
+ "description": "R on Rails"
49
+ },
50
+ "install.development.galaaz.core": {
51
+ "icon": "\uE90E",
52
+ "iconFont": "omarchy",
53
+ "label": "Galaaz (core)",
54
+ "description": "setup + blogs (gem already installed)",
55
+ "action": "omarchy-launch-tui omarchy-install-galaaz",
56
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/core ]]"
48
57
  },
49
58
  "install.development.galaaz.knit": {
50
59
  "icon": "\uE90E",
@@ -52,7 +61,7 @@
52
61
  "label": "Knit (HTML + PDF blogs)",
53
62
  "description": "pandoc + knitr/rmarkdown + TinyTeX",
54
63
  "action": "omarchy-launch-tui omarchy-galaaz-add knit",
55
- "disabled": "test -f ~/.config/galaaz/profiles/knit"
64
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/knit ]]"
56
65
  },
57
66
  "install.development.galaaz.arrow-r": {
58
67
  "icon": "\uE90E",
@@ -60,7 +69,7 @@
60
69
  "label": "Arrow (R only)",
61
70
  "description": "CRAN arrow via Apache prebuilt libarrow",
62
71
  "action": "omarchy-launch-tui omarchy-galaaz-add arrow-r",
63
- "disabled": "test -f ~/.config/galaaz/profiles/arrow-r -o -f ~/.config/galaaz/profiles/arrow"
72
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/arrow-r && ! -f $HOME/.config/galaaz/profiles/arrow ]]"
64
73
  },
65
74
  "install.development.galaaz.arrow-ruby": {
66
75
  "icon": "\uE90E",
@@ -68,7 +77,7 @@
68
77
  "label": "Arrow (Ruby)",
69
78
  "description": "R arrow + arrow-glib / red-arrow (installs R only first)",
70
79
  "action": "omarchy-launch-tui omarchy-galaaz-add arrow-ruby",
71
- "disabled": "test -f ~/.config/galaaz/profiles/arrow-ruby -o -f ~/.config/galaaz/profiles/arrow"
80
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/arrow-ruby && ! -f $HOME/.config/galaaz/profiles/arrow ]]"
72
81
  },
73
82
  "install.development.galaaz.arrow-debug": {
74
83
  "icon": "\uE90E",
@@ -82,14 +91,14 @@
82
91
  "iconFont": "omarchy",
83
92
  "label": "Bioconductor (DESeq2)",
84
93
  "action": "omarchy-launch-tui omarchy-galaaz-add bio",
85
- "disabled": "test -f ~/.config/galaaz/profiles/bio"
94
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/bio ]]"
86
95
  },
87
96
  "install.development.galaaz.examples": {
88
97
  "icon": "\uE90E",
89
98
  "iconFont": "omarchy",
90
99
  "label": "Examples",
91
100
  "action": "omarchy-launch-tui omarchy-galaaz-add examples",
92
- "disabled": "test -f ~/.config/galaaz/profiles/examples"
101
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/examples ]]"
93
102
  },
94
103
  "install.development.galaaz.ledger": {
95
104
  "icon": "\uE90E",
@@ -97,13 +106,14 @@
97
106
  "label": "Ledger (R-on-Rails demo)",
98
107
  "description": "Clone app, seed, bin/dev",
99
108
  "action": "omarchy-launch-tui omarchy-galaaz-add ledger",
100
- "disabled": "test -f ~/.config/galaaz/profiles/ledger"
109
+ "when": "[[ ! -f $HOME/.config/galaaz/profiles/ledger ]]"
101
110
  },
102
111
  "remove.development.galaaz": {
103
112
  "icon": "\uE90E",
104
113
  "iconFont": "omarchy",
105
114
  "label": "Galaaz",
106
115
  "description": "Core gem (add-on R packages stay)",
107
- "action": "omarchy-launch-tui omarchy-remove-galaaz"
116
+ "action": "omarchy-launch-tui omarchy-remove-galaaz",
117
+ "when": "[[ -f $HOME/.config/galaaz/profiles/core ]]"
108
118
  }
109
119
  }
data/version.rb CHANGED
@@ -1,2 +1,2 @@
1
1
  $gem_name = "galaaz"
2
- $version="2.1.10.pre.10"
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.10
4
+ version: 2.1.10.pre.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Botafogo