From 9f30b3e9f264f1c5c3864d11edd5921bebcdfec7 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Fri, 13 Jun 2025 18:59:47 -0300 Subject: [PATCH] :boom: fix(scripts/wallpaper): also check for `1` value on splash property --- ags/scripts/wallpaper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ags/scripts/wallpaper.ts b/ags/scripts/wallpaper.ts index 471ae4e..020fb37 100644 --- a/ags/scripts/wallpaper.ts +++ b/ags/scripts/wallpaper.ts @@ -68,7 +68,7 @@ class Wallpaper extends GObject.Object { switch(key) { case "splash": - this.splash = /(yes|true|on|enable|enabled)/.test(value) ? true : false; + this.splash = (/(yes|true|on|enable|enabled|1).*/.test(value)) ? true : false; break; case "wallpaper":