aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/RainbowBorders.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/UserScripts/RainbowBorders.sh')
-rwxr-xr-xconfig/hypr/UserScripts/RainbowBorders.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/config/hypr/UserScripts/RainbowBorders.sh b/config/hypr/UserScripts/RainbowBorders.sh
index 7a392ffe..67269b8a 100755
--- a/config/hypr/UserScripts/RainbowBorders.sh
+++ b/config/hypr/UserScripts/RainbowBorders.sh
@@ -26,11 +26,8 @@ if [[ "$EFFECT_TYPE" == "wallust_random" || "$EFFECT_TYPE" == "gradient_flow" ]]
)
if (( ${#WALLUST_COLORS[@]} == 0 )); then
- if [[ "$EFFECT_TYPE" == "wallust_random" ]]; then
- echo "ERROR: wallust_random enabled but no colors loaded" >&2
- exit 1
- fi
- # gradient_flow will fall back to random_hex later
+ # If wallust colors can't be loaded, fall back to random_hex
+ EFFECT_TYPE="rainbow"
fi
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage