#!/bin/bash

# blob:summary=List available themes
# blob:examples=blob theme list | blob theme set "Tokyo Night"

{
  find ~/.config/blob/themes/ -mindepth 1 -maxdepth 1 \( -type d -o -type l \) -printf '%f\n'
  find "$BLOB_PATH/themes/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'
} | sort -u | sed -E 's/(^|-)([a-z])/\1\u\2/g; s/-/ /g'
