galaaz 2.1.10.pre.13 → 2.1.10.pre.14
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 +9 -0
- data/lib/galaaz/cli.rb +26 -2
- data/script/omarchy/install-galaaz.sh +16 -0
- 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: d3edc95ba0c5748d89f2e38c550e7f80823ae2d4c03d2ae9cb8c35c9979c7409
|
|
4
|
+
data.tar.gz: 0ea188f8ac1c56e7269da71c9a7e906cb00fc5cd62c2e7c6b41b399fed353342
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bcb653a18c4a441933b3245ad516fe0eaa4b085737af5a78dad84b4c77754863e9d83411e95e515ba1228faa6c65cb1c10746cec098b07b66d9cdc02dad91d66
|
|
7
|
+
data.tar.gz: a46ac9ae0d47e69e4f7fcfb31acd02cb2e878849e8d3b8d51055ee7c290a2a64065c8184b376671c51ea9d3414cd248e4917657e4e13a08f350d12a45601364b
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 2.1.10.pre.14
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Omarchy font install ends with **`omarchy restart shell`** (fallbacks:
|
|
10
|
+
`omarchy-restart-shell`, then `killall omarchy-shell` + relaunch) so the
|
|
11
|
+
Galaaz R glyph appears without logout. Menu JSON already hot-reloads; Qt
|
|
12
|
+
does not reload family `omarchy` until the shell restarts.
|
|
13
|
+
|
|
5
14
|
## 2.1.10.pre.13
|
|
6
15
|
|
|
7
16
|
### Fixed
|
data/lib/galaaz/cli.rb
CHANGED
|
@@ -373,8 +373,32 @@ module Galaaz
|
|
|
373
373
|
system('fc-cache', '-f', fonts)
|
|
374
374
|
system('fc-cache', '-f', user_fonts)
|
|
375
375
|
end
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
restart_omarchy_shell_for_fonts!
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
# Menu JSON hot-reloads; Qt keeps family "omarchy" until omarchy-shell restarts.
|
|
380
|
+
def restart_omarchy_shell_for_fonts!
|
|
381
|
+
return unless ENV['OMARCHY_PATH'] || File.directory?(File.expand_path('~/.config/omarchy'))
|
|
382
|
+
|
|
383
|
+
if command_present?('omarchy') && system('omarchy', 'restart', 'shell')
|
|
384
|
+
puts 'galaaz omarchy: restarted Omarchy shell (brand font reload)'
|
|
385
|
+
return
|
|
386
|
+
end
|
|
387
|
+
if command_present?('omarchy-restart-shell') && system('omarchy-restart-shell')
|
|
388
|
+
puts 'galaaz omarchy: restarted Omarchy shell via omarchy-restart-shell'
|
|
389
|
+
return
|
|
390
|
+
end
|
|
391
|
+
if system('pgrep', '-x', 'omarchy-shell', out: File::NULL, err: File::NULL)
|
|
392
|
+
system('killall', 'omarchy-shell', out: File::NULL, err: File::NULL)
|
|
393
|
+
if command_present?('omarchy-launch-shell')
|
|
394
|
+
system('omarchy-launch-shell', out: File::NULL, err: File::NULL)
|
|
395
|
+
elsif command_present?('hyprctl')
|
|
396
|
+
system('hyprctl', 'dispatch', 'exec', 'omarchy-launch-shell', out: File::NULL, err: File::NULL)
|
|
397
|
+
end
|
|
398
|
+
puts 'galaaz omarchy: restarted omarchy-shell (fallback)'
|
|
399
|
+
return
|
|
400
|
+
end
|
|
401
|
+
warn 'galaaz omarchy: run `omarchy restart shell` so Qt reloads the brand font'
|
|
378
402
|
end
|
|
379
403
|
|
|
380
404
|
# ---- blogs ----
|
|
@@ -296,6 +296,22 @@ if command -v fc-cache >/dev/null 2>&1; then
|
|
|
296
296
|
fc-cache -r >/dev/null 2>&1 || true
|
|
297
297
|
fc-cache -f "${HOME}/.local/share/fonts" >/dev/null 2>&1 || true
|
|
298
298
|
fi
|
|
299
|
+
# Menu JSON hot-reloads; Qt keeps family "omarchy" until omarchy-shell restarts.
|
|
300
|
+
if command -v omarchy >/dev/null 2>&1 && omarchy restart shell; then
|
|
301
|
+
log "restarted Omarchy shell (brand font reload)"
|
|
302
|
+
elif command -v omarchy-restart-shell >/dev/null 2>&1 && omarchy-restart-shell; then
|
|
303
|
+
log "restarted Omarchy shell via omarchy-restart-shell"
|
|
304
|
+
elif pgrep -x omarchy-shell >/dev/null 2>&1; then
|
|
305
|
+
killall omarchy-shell 2>/dev/null || true
|
|
306
|
+
if command -v omarchy-launch-shell >/dev/null 2>&1; then
|
|
307
|
+
omarchy-launch-shell >/dev/null 2>&1 || true
|
|
308
|
+
elif command -v hyprctl >/dev/null 2>&1; then
|
|
309
|
+
hyprctl dispatch exec omarchy-launch-shell >/dev/null 2>&1 || true
|
|
310
|
+
fi
|
|
311
|
+
log "restarted omarchy-shell (fallback)"
|
|
312
|
+
else
|
|
313
|
+
log "Omarchy shell not restarted; run: omarchy restart shell"
|
|
314
|
+
fi
|
|
299
315
|
cp "${BASH_SOURCE[0]}" "${HOME}/.local/bin/omarchy-install-galaaz"
|
|
300
316
|
chmod +x "${HOME}/.local/bin/omarchy-install-galaaz"
|
|
301
317
|
if [[ -f "${SCRIPT_DIR}/remove-galaaz.sh" ]]; then
|
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.14"
|