#!/usr/bin/env bash set -e # Nomarchy Wallpaper Helper # Usage: nomarchy-wallpaper [selector|set |next] COMMAND="$1" case "$COMMAND" in set) shift # Wallpaper set usually involves writing to state.json and calling swww # We can reuse the logic from nomarchy-wallpaper-selector if we extract it, # but for now let's just trigger the selector. nomarchy-wallpaper-selector ;; next) nomarchy-theme-bg-next ;; selector|*) nomarchy-wallpaper-selector ;; esac