aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserScripts/WallpaperEffects.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-03-08 20:01:00 +0900
committerGitHub <noreply@github.com>2025-03-08 20:01:00 +0900
commit58ff6d436f2180c1bb3ea967636d0715258542a4 (patch)
treee0c130bf8479dcfedc79059202a9c4449bc54048 /config/hypr/UserScripts/WallpaperEffects.sh
parent8ead68af4e161693f82e5dcd37118d7a2dac24d5 (diff)
parenta5530ba1c81a482aa8e77db9bf37aa5894d1fa86 (diff)
Merge pull request #605 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/UserScripts/WallpaperEffects.sh')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index eb87b97b..7b1cf00b 100755
--- a/config/hypr/UserScripts/WallpaperEffects.sh
+++ b/config/hypr/UserScripts/WallpaperEffects.sh
@@ -105,10 +105,16 @@ sleep 1
if [[ -n "$choice" ]]; then
sddm_sequoia="/usr/share/sddm/themes/sequoia_2"
if [ -d "$sddm_sequoia" ]; then
+
+ # Check if yad is running to avoid multiple yad notification
+ if pidof yad > /dev/null; then
+ killall yad
+ fi
+
if yad --info --text="Set current wallpaper as SDDM background?\n\nNOTE: This only applies to SEQUOIA SDDM Theme" \
--text-align=left \
--title="SDDM Background" \
- --timeout=10 \
+ --timeout=5 \
--timeout-indicator=right \
--button="yad-yes:0" \
--button="yad-no:1" \
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage