#!/bin/bash # blob:summary=Print the directory holding a theme, preferring a user-installed copy # blob:args= # blob:examples=blob theme dir tokyo-night theme="${1:-}" if [[ -z $theme ]]; then echo "Usage: blob-theme-dir " >&2 exit 1 fi if [[ -d $HOME/.config/blob/themes/$theme ]]; then echo "$HOME/.config/blob/themes/$theme" else echo "$BLOB_PATH/themes/$theme" fi