fix: theme ssot

This commit is contained in:
Barrett Ruth 2026-02-22 16:20:49 -05:00
parent 026074a7fe
commit 9717cf3948
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
4 changed files with 14 additions and 1 deletions

View file

@ -49,6 +49,11 @@ fi
[ -z "$theme" ] && exit 1
echo "$themes" | grep -Fxq "$theme" || exit 1
state_dir="${XDG_STATE_HOME:-$HOME/.local/state}"
mkdir -p "$state_dir"
printf '%s\n' "$theme" > "$state_dir/theme"
export THEME="$theme"
case "$(uname)" in
Linux)
case "$theme" in