diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-26 18:37:07 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-26 18:37:07 +0900 |
| commit | 0c00a12234c60e26cadb96005c0b362ba80030b7 (patch) | |
| tree | 7fb9b5f1d9d1a1327f5a7726864bf31db27cd305 | |
| parent | cbd7b0bfc5b185e87133170e9a0fd4a2c4bc039e (diff) | |
updated yad for setting sddm background
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 9 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 9fb43786..eb87b97b 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -105,7 +105,14 @@ sleep 1 if [[ -n "$choice" ]]; then sddm_sequoia="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequoia" ]; then - if yad --question --text="Set wallpaper as SDDM background?\nNOTE: This only applies to SEQUOIA SDDM Theme" --title="SDDM Background" --timeout=10 --ok-label="Yes"; then + 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-indicator=right \ + --button="yad-yes:0" \ + --button="yad-no:1" \ + ; then # Check if terminal exists if ! command -v "$terminal" &>/dev/null; then diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 26d2dcf3..ecb44c45 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -130,7 +130,14 @@ sleep 1 if [[ -n "$choice" ]]; then sddm_sequoia="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequoia" ]; then - if yad --question --text="Set wallpaper as SDDM background?\nNOTE: This only applies to SEQUOIA SDDM Theme" --title="SDDM Background" --timeout=10 --ok-label="Yes"; then + 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-indicator=right \ + --button="yad-yes:0" \ + --button="yad-no:1" \ + ; then # Check if terminal exists if ! command -v "$terminal" &>/dev/null; then |
