This should work to check for arguments
This commit is contained in:
parent
c9adf82430
commit
b3d66baa6c
@ -53,7 +53,7 @@ fi
|
|||||||
##### arguments #####
|
##### arguments #####
|
||||||
##############################
|
##############################
|
||||||
# handle arguments
|
# handle arguments
|
||||||
if [[ "$1" -ne 0 ]]; then
|
if [[ "$#" -eq 1 ]]; then
|
||||||
# -t/--theme to change theme
|
# -t/--theme to change theme
|
||||||
if [[ "$1" == "-t" || "$1" == "--theme" ]]; then
|
if [[ "$1" == "-t" || "$1" == "--theme" ]]; then
|
||||||
func_seltheme
|
func_seltheme
|
||||||
|
Loading…
Reference in New Issue
Block a user