Add support for extra themes, other small changes, drop btop

This commit is contained in:
2025-10-30 13:23:09 -05:00
parent bd5cb81499
commit 5c8dfa34ca
37 changed files with 336 additions and 146 deletions

View File

@@ -15,11 +15,11 @@ NESTED_SWIFT_BLOCK
)
}
# TODO: decide if and how to make this work for cycling through wallpapers per theme
wallpaper_dir=$DIR_THEME_SETTINGS/.current-theme/wallpaper
image_paths=($(find $wallpaper_dir -type f | sort)) 2> /dev/null
target_wallpaper=${image_paths[@]:0:1}
[[ $1 = "zz-default-for-theme" ]] && target_wallpaper=${image_paths[@]:0:1} ||
target_wallpaper=$(printf '%s\n' ${image_paths[@]} | fzf)
[[ -z $target_wallpaper ]] && exit 0
[[ "$OSTYPE" = *"darwin"* ]] && set_wallpaper_macos $target_wallpaper ||