From b3d66baa6cbe5f544c55f96020bbc31171530b08 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 8 Mar 2021 09:07:55 +0100 Subject: [PATCH] This should work to check for arguments --- arch-config/scripts/arch-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch-config/scripts/arch-config.sh b/arch-config/scripts/arch-config.sh index aa880e9b..221ba7b9 100755 --- a/arch-config/scripts/arch-config.sh +++ b/arch-config/scripts/arch-config.sh @@ -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