feat: add screenshot gallery, theme selector, and 4 new curated themes
- Add comprehensive screenshot gallery in README.md and docs/GALLERY.md showcasing all desktop features, menus, and control panels - Clean and sanitize screenshots (no private work projects or processes) - Add 4 curated themes with accurate color palettes and btop themes: * Pirna (Bernardo Bellotto classic art) * Nordic Frost (Arctic aurora and mountain cliff) * Monolith (Sci-fi alien coast and bioluminescent cyan) * Dragon Fire (Dark fantasy gothic siege and fiery coral embers) - Enhance theme selector in rice-theme and rice-menu with live grid thumbnails - Add super + shift + t shortcut for instant visual theme switching - Make wallpaper lookup robust across repo and user directories
This commit is contained in:
parent
4b203d06bd
commit
38b38a8ef0
37 changed files with 661 additions and 10 deletions
|
|
@ -102,9 +102,18 @@ case "${1:-main}" in
|
|||
theme)
|
||||
rice-theme list | while read -r t; do
|
||||
dir="$RICE_DIR/themes/$t"; [[ -d $dir ]] || dir="${XDG_CONFIG_HOME:-$HOME/.config}/rice/themes/$t"
|
||||
[[ -f $dir/colors.toml ]] || continue
|
||||
img="$dir/preview.png"
|
||||
[[ -f $img ]] || img="$RICE_DIR/wallpapers/$(sed -n 's/^wallpaper *= *"\(.*\)"/\1/p' "$dir/colors.toml")"
|
||||
printf '%s\t%s\t%s\n' "$(sed -n 's/^name *= *"\(.*\)"/\1/p' "$dir/colors.toml")" "$(rice-wallpaper thumb "$img")" "$t"
|
||||
if [[ ! -f $img ]]; then
|
||||
wp=$(sed -n 's/^wallpaper *= *"\(.*\)"/\1/p' "$dir/colors.toml")
|
||||
if [[ -f $wp ]]; then img="$wp"
|
||||
elif [[ -f $RICE_DIR/wallpapers/$wp ]]; then img="$RICE_DIR/wallpapers/$wp"
|
||||
elif [[ -f ${XDG_CONFIG_HOME:-$HOME/.config}/rice/wallpapers/$wp ]]; then img="${XDG_CONFIG_HOME:-$HOME/.config}/rice/wallpapers/$wp"
|
||||
elif [[ -f $HOME/Pictures/Wallpapers/$wp ]]; then img="$HOME/Pictures/Wallpapers/$wp"
|
||||
fi
|
||||
fi
|
||||
name=$(sed -n 's/^name *= *"\(.*\)"/\1/p' "$dir/colors.toml")
|
||||
printf '%s\t%s\t%s\n' "${name:-$t}" "$(rice-wallpaper thumb "$img")" "$t"
|
||||
done | grid "Theme" rice-theme-set
|
||||
;;
|
||||
wallpaper)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue