sunhat/bin/sunhat
2024-07-20 11:47:52 -05:00

12 lines
251 B
Bash
Executable File

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