ci: format

This commit is contained in:
Barrett Ruth 2026-03-03 00:42:25 -05:00
parent 310bd074e7
commit 25b821a4fd
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
8 changed files with 374 additions and 331 deletions

View file

@ -51,7 +51,7 @@ 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"
printf '%s\n' "$theme" >"$state_dir/theme"
export THEME="$theme"
case "$(uname)" in
@ -81,7 +81,6 @@ Linux)
pkill -USR2 waybar
}
hypr_themes="$cfg/hypr/themes"
[ -f "$hypr_themes/$theme.conf" ] && {
ln -sf "$hypr_themes/$theme.conf" "$hypr_themes/theme.conf"
@ -132,8 +131,8 @@ if command -v claude >/dev/null 2>&1 && command -v jq >/dev/null 2>&1; then
daylight) claude_theme='light' ;;
esac
[ -f "$CLAUDE_CONFIG" ] && {
jq ".theme=\"$claude_theme\"" "$CLAUDE_CONFIG" > "$CLAUDE_CONFIG.tmp" &&
mv "$CLAUDE_CONFIG.tmp" "$CLAUDE_CONFIG"
jq ".theme=\"$claude_theme\"" "$CLAUDE_CONFIG" >"$CLAUDE_CONFIG.tmp" &&
mv "$CLAUDE_CONFIG.tmp" "$CLAUDE_CONFIG"
}
fi