diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-03-01 17:32:33 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-03-01 17:32:33 +0900 |
| commit | 8040be99a879c8af745905fc88655c6b04450e8e (patch) | |
| tree | d4b41e060bafa198a15c78d248ff4cfb2e290b48 /config/hypr/UserScripts | |
| parent | 8610d39bf22c0a087871e98e4f92822ba5b56ac6 (diff) | |
Added Top & Bot waybar v2 layout, Prismatic Glow waybar style. Adjust Select wallpaper yad to avoid multiple yad notification
Diffstat (limited to 'config/hypr/UserScripts')
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 6 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index eb87b97b..25d49b46 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -105,6 +105,12 @@ 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" \ diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 88b06dd6..7b666295 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -133,6 +133,12 @@ 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" \ |
