From b47d1e65fbea01b975209592f9caa4aa3850e77e Mon Sep 17 00:00:00 2001 From: primardj Date: Mon, 22 Jan 2024 21:40:19 +0000 Subject: [PATCH] inversing behavious when receiving sleep flag. --- swaylock-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swaylock-script b/swaylock-script index d95572d..40c5d6e 100755 --- a/swaylock-script +++ b/swaylock-script @@ -47,7 +47,7 @@ option_sw_effects="-f \ option_sw="" -if [ "${sleep_flag}" == "set" ] +if [ ! "${sleep_flag}" == "set" ] then option_sw_effects="${option_sw_effects} \ --fade-in 4"