sunhat/bin/sunhat
2024-06-09 04:16:43 -05:00

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