Skip to content

Commit

Permalink
Change colorscheme script number
Browse files Browse the repository at this point in the history
  • Loading branch information
nihsx committed Oct 26, 2021
1 parent c9c5f52 commit 638b782
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .scripts/colorscheme/colors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for LIBRARY in ${LIBRARYS[@]}; do
done

COLORSCHEMES_DIR="$HOME/.colorscheme"
INDEX_LOOP=0
INDEX_LOOP=1

THEME_USED_PATH="${HOME}/.config/mytermux/colorscheme"
THEME_USED_FILE_NAME="used.log"
Expand Down Expand Up @@ -76,7 +76,7 @@ function selectTheme() {

break;

elif ! [[ ${INDEX_THEME} =~ ^[0-9]+$ ]]; then
elif ! [[ ${INDEX_THEME} =~ ^[1-9]+$ ]]; then

stat "ERROR" "Danger" "Unknown number, please enter the right number!\n"

Expand Down

0 comments on commit 638b782

Please sign in to comment.