sunhat/bin/sunhat

12 lines
244 B
Bash
Executable File

#!/bin/bash
source $SUNHAT_PATH/bin/ascii.sh
if [ $# -eq 0 ]; then
SUB=$(gum choose "theme" "font" "install" "update" --height 8 --header "" | tr '[:upper:]' '[:lower:]')
else
SUB=$1
fi
[ -n "$SUB" ] && source $SUNHAT_PATH/bin/sunhat-$SUB