Files
Nomarchy/features/scripts/utils/nomarchy-font
Bernardo Magri 7064108ce7 fix(distro): fix /etc/nixos ownership, theme discovery, and CLI wrappers
- installer: set recursive ownership of /etc/nixos to main user post-install
- themes: fix NOMARCHY_PATH and discovery logic for Lua theme menu
- scripts: update CLI wrappers (font, theme, wallpaper) to use Walker menus
- core: remove obsolete NOMARCHY_PATH and cleanup dead code
- features: add pkgs.lua for Walker and remove obsolete switcher.nix
- docs: update ROADMAP.md, SCRIPTS.md and STRUCTURE.md
2026-05-03 08:59:13 +01:00

24 lines
495 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Nomarchy Font Helper
# Usage: nomarchy-font [selector|set <name>|list]
COMMAND="$1"
case "$COMMAND" in
set)
shift
nomarchy-font-set "$@"
;;
list)
nomarchy-font-list
;;
selector|*)
theme=$(echo -e "$(nomarchy-font-list)" | nomarchy-launch-walker --dmenu --width 350 -p "Font...")
if [[ -n "$theme" && "$theme" != "CNCLD" ]]; then
nomarchy-font-set "$theme"
fi
;;
esac