fix(menu): route Nomarchy help locally, fix looknfeel path, drop dead branch
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.
This commit is contained in:
@@ -67,7 +67,7 @@ open_in_editor() {
|
|||||||
show_learn_menu() {
|
show_learn_menu() {
|
||||||
case $(menu "Learn" " Keybindings\n Nomarchy\n Hyprland\n Arch\n Neovim\n Bash") in
|
case $(menu "Learn" " Keybindings\n Nomarchy\n Hyprland\n Arch\n Neovim\n Bash") in
|
||||||
*Keybindings*) nomarchy-menu-keybindings ;;
|
*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/" ;;
|
*Hyprland*) nomarchy-launch-webapp "https://wiki.hypr.land/" ;;
|
||||||
*Arch*) nomarchy-launch-webapp "https://wiki.archlinux.org/title/Main_page" ;;
|
*Arch*) nomarchy-launch-webapp "https://wiki.archlinux.org/title/Main_page" ;;
|
||||||
*Bash*) nomarchy-launch-webapp "https://devhints.io/bash" ;;
|
*Bash*) nomarchy-launch-webapp "https://devhints.io/bash" ;;
|
||||||
@@ -176,7 +176,7 @@ show_style_menu() {
|
|||||||
*Theme*) show_theme_menu ;;
|
*Theme*) show_theme_menu ;;
|
||||||
*Font*) show_font_menu ;;
|
*Font*) show_font_menu ;;
|
||||||
*Background*) show_background_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 ;;
|
*Screensaver*) open_in_editor ~/.config/nomarchy/branding/screensaver.txt ;;
|
||||||
*About*) open_in_editor ~/.config/nomarchy/branding/about.txt ;;
|
*About*) open_in_editor ~/.config/nomarchy/branding/about.txt ;;
|
||||||
*) back_to show_main_menu ;;
|
*) back_to show_main_menu ;;
|
||||||
@@ -255,7 +255,6 @@ show_setup_config_menu() {
|
|||||||
*Walker*) open_in_editor ~/.config/walker/config.toml && nomarchy-restart-walker ;;
|
*Walker*) open_in_editor ~/.config/walker/config.toml && nomarchy-restart-walker ;;
|
||||||
*Waybar*) open_in_editor ~/.config/waybar/config.jsonc && nomarchy-restart-waybar ;;
|
*Waybar*) open_in_editor ~/.config/waybar/config.jsonc && nomarchy-restart-waybar ;;
|
||||||
*XCompose*) open_in_editor ~/.XCompose && nomarchy-restart-xcompose ;;
|
*XCompose*) open_in_editor ~/.XCompose && nomarchy-restart-xcompose ;;
|
||||||
*Overrides*) xdg-open ~/.config/nomarchy/overrides/ ;;
|
|
||||||
*) back_to show_setup_menu ;;
|
*) back_to show_setup_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user