Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
export HOME="$tmp_home"
./bin/boo theme list >/dev/null

for theme_file in themes/*.theme; do
while IFS= read -r theme_file; do
theme="${theme_file##*/}"
theme="${theme%.theme}"
./bin/boo theme "$theme" >/dev/null
done
done < <(find themes -type f -name '*.theme' | sort)

- name: Install smoke test
run: |
Expand All @@ -56,13 +56,12 @@ jobs:
"$HOME/.local/bin/boo" theme list >/dev/null

count=0
for theme_file in "$HOME/.config/boo/themes/"*.theme; do
[[ -e "$theme_file" ]] || continue
while IFS= read -r theme_file; do
theme="${theme_file##*/}"
theme="${theme%.theme}"
"$HOME/.local/bin/boo" theme "$theme" >/dev/null
count=$((count + 1))
done
done < <(find "$HOME/.config/boo/themes" -type f -name '*.theme' | sort)

if [[ "$count" -eq 0 ]]; then
echo "No installed themes found under $HOME/.config/boo/themes" >&2
Expand All @@ -77,8 +76,7 @@ jobs:
bash scripts/install.sh >/dev/null

count=0
for theme_file in "$HOME/.config/boo/themes/"*.theme; do
[[ -e "$theme_file" ]] || continue
while IFS= read -r theme_file; do
theme="${theme_file##*/}"
theme="${theme%.theme}"

Expand All @@ -89,7 +87,7 @@ jobs:
exit 1
}
count=$((count + 1))
done
done < <(find "$HOME/.config/boo/themes" -type f -name '*.theme' | sort)

if [[ "$count" -eq 0 ]]; then
echo "No installed themes found under $HOME/.config/boo/themes" >&2
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,16 @@ boo theme select
```

- Shows all themes in a searchable list
- Ordered as: built-in dark, built-in light, community dark, community light
- Live terminal-style preview panel on the right
- Press `Enter` to apply, `Esc` to cancel

Community themes are supported too:

- Built-in community themes are auto-discovered from `themes/community/`
- Installer copies them to `~/.config/boo/themes/community/`
- You can add your own by dropping `*.theme` files into `~/.config/boo/themes/community/`

### Create your own theme

```bash
Expand Down Expand Up @@ -197,6 +204,14 @@ Expected result:
- `moss`: damp forest floor, muted earthy green
- `rust`: oxidized metal, brutalist copper

Community themes:

- `aurora`: cool dark teal with cyan accents
- `dracula`: classic neon purple/green theme
- `tokyonight`: electric blue storm palette
- `gruvbox`: warm retro dark palette
- `nord`: cool arctic blue-gray palette

## Advanced Notes

- `boo reload`: safe guidance only (no key injection, no window/session changes)
Expand Down
Loading