From d4a00af5c5d8c16087686408e0c2bbbaae502b95 Mon Sep 17 00:00:00 2001 From: pika Date: Wed, 21 May 2025 18:30:42 +0200 Subject: [PATCH] testing more beautiful approach --- hyprland.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hyprland.sh b/hyprland.sh index 74c8ce7..bef7522 100644 --- a/hyprland.sh +++ b/hyprland.sh @@ -303,6 +303,8 @@ main() { if $silent; then echo_warning "Executing script silently!" + else + silent=false fi checkEnv @@ -334,7 +336,7 @@ if getImports; then for arg in "$@"; do case "$arg" in --silent | -s) - export silent=true + silent=true ;; esac done