Files
Nomarchy/features/scripts/utils/nomarchy-wallpaper
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

22 lines
473 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Nomarchy Wallpaper Helper
# Usage: nomarchy-wallpaper [selector|set <path>|next]
COMMAND="$1"
case "$COMMAND" in
set)
shift
# Wallpaper set usually involves writing to state.json and calling swww
nomarchy-theme-bg-set "$@"
;;
next)
nomarchy-theme-bg-next
;;
selector|*)
nomarchy-launch-walker -m menus:nomarchyBackgroundSelector --width 800 --minheight 400
;;
esac