From b078be320982444fc7b1ff87aa2255e9dea38ca7 Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Thu, 21 May 2026 20:46:21 +0100 Subject: [PATCH] fix(menu): route Nomarchy help locally, fix looknfeel path, drop dead branch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three issues in features/scripts/utils/nomarchy-menu: (1) "Learn → Nomarchy" called nomarchy-launch-webapp on https://learn.omacom.io/2/the-nomarchy-manual — an upstream Omarchy URL, the same one fixed in nomarchy-manual on 2026-05-18. Now calls nomarchy-manual, which opens the local ~/.local/share/nomarchy/ README.md (or notifies if the source tree isn't synced). (2) "Style → Hyprland" tried to open ~/.config/hypr/looknfeel.conf, which is not the path looknfeel.conf is deployed to. The actual file lives at ~/.config/nomarchy/default/hypr/looknfeel.conf (sourced by nomarchy.conf via the chain). Updated the path. (3) The setup-config case statement had an *Overrides* branch but no matching menu option, so it was unreachable. The overrides loader (nomarchy.overrides.*) is still in the Next column of the roadmap; when it ships, both the option AND the case will get added together. --- features/scripts/utils/nomarchy-menu | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/features/scripts/utils/nomarchy-menu b/features/scripts/utils/nomarchy-menu index 0dd6f72..644804e 100755 --- a/features/scripts/utils/nomarchy-menu +++ b/features/scripts/utils/nomarchy-menu @@ -67,7 +67,7 @@ open_in_editor() { show_learn_menu() { case $(menu "Learn" " Keybindings\n Nomarchy\n Hyprland\n󰣇 Arch\n Neovim\n󱆃 Bash") in *Keybindings*) nomarchy-menu-keybindings ;; - *Nomarchy*) nomarchy-launch-webapp "https://learn.omacom.io/2/the-nomarchy-manual" ;; + *Nomarchy*) nomarchy-manual ;; *Hyprland*) nomarchy-launch-webapp "https://wiki.hypr.land/" ;; *Arch*) nomarchy-launch-webapp "https://wiki.archlinux.org/title/Main_page" ;; *Bash*) nomarchy-launch-webapp "https://devhints.io/bash" ;; @@ -176,7 +176,7 @@ show_style_menu() { *Theme*) show_theme_menu ;; *Font*) show_font_menu ;; *Background*) show_background_menu ;; - *Hyprland*) open_in_editor ~/.config/hypr/looknfeel.conf ;; + *Hyprland*) open_in_editor ~/.config/nomarchy/default/hypr/looknfeel.conf ;; *Screensaver*) open_in_editor ~/.config/nomarchy/branding/screensaver.txt ;; *About*) open_in_editor ~/.config/nomarchy/branding/about.txt ;; *) back_to show_main_menu ;; @@ -255,7 +255,6 @@ show_setup_config_menu() { *Walker*) open_in_editor ~/.config/walker/config.toml && nomarchy-restart-walker ;; *Waybar*) open_in_editor ~/.config/waybar/config.jsonc && nomarchy-restart-waybar ;; *XCompose*) open_in_editor ~/.XCompose && nomarchy-restart-xcompose ;; - *Overrides*) xdg-open ~/.config/nomarchy/overrides/ ;; *) back_to show_setup_menu ;; esac }