Fix default theme

This commit is contained in:
Jacoby6000 2024-07-17 00:07:36 -05:00
parent 4e5eb9aae5
commit 6792338afc

View File

@ -6,7 +6,7 @@ MAX_THEME=$3
INPUT_THEME=$4 INPUT_THEME=$4
if [ -z "$INPUT_THEME" ]; then if [ -z "$INPUT_THEME" ]; then
theme="$DEFAULT_THEME" theme="$SOURCE_DIR/style-$DEFAULT_THEME.rasi"
elif [[ "$INPUT_THEME" == "-h" || "$INPUT_THEME" == "--help" ]]; then elif [[ "$INPUT_THEME" == "-h" || "$INPUT_THEME" == "--help" ]]; then
echo "Usage: $SOURCE_DIR [1..$MAX_THEME]" echo "Usage: $SOURCE_DIR [1..$MAX_THEME]"
exit 1 exit 1