This should work to check for arguments

This commit is contained in:
RealStickman 2021-03-08 09:07:55 +01:00
parent c9adf82430
commit b3d66baa6c

View File

@ -53,7 +53,7 @@ fi
##### arguments #####
##############################
# handle arguments
if [[ "$1" -ne 0 ]]; then
if [[ "$#" -eq 1 ]]; then
# -t/--theme to change theme
if [[ "$1" == "-t" || "$1" == "--theme" ]]; then
func_seltheme