diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-06-09 08:42:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-09 08:42:00 +0900 |
| commit | 0ff81ffd8f9e82034dd593231cd40aeedb324699 (patch) | |
| tree | 5b99b62bd532dceb865358a750b9f41e7ba7251f | |
| parent | b825de86ee20f11cfb87de3ceab5ca6d9679347b (diff) | |
| parent | a21e9e7d13386171aa96fbe509340978ac2b4b1a (diff) | |
Merge pull request #734 from JaKooLit/main
main to development
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperEffects.sh | 10 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 11 |
2 files changed, 10 insertions, 11 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index b1d1a4b1..3717543c 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -108,15 +108,15 @@ main sleep 1 if [[ -n "$choice" ]]; then - sddm_sequoia="/usr/share/sddm/themes/sequoia_2" - if [ -d "$sddm_sequoia" ]; then + sddm_simple="/usr/share/sddm/themes/simple_sddm_2" + if [ -d "$sddm_simple" ]; 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" \ + if yad --info --text="Set current wallpaper as SDDM background?\n\nNOTE: This only applies to SIMPLE SDDM v2 Theme" \ --text-align=left \ --title="SDDM Background" \ --timeout=5 \ @@ -133,8 +133,8 @@ if [[ -n "$choice" ]]; then # Open terminal and set the wallpaper $terminal -e bash -c "echo 'Enter your password to set wallpaper as SDDM Background'; \ - sudo cp -r $wallpaper_output '$sddm_sequoia/backgrounds/default' && \ + sudo cp -r $wallpaper_output '$sddm_simple/Backgrounds/default' && \ notify-send -i '$iDIR/ja.png' 'SDDM' 'Background SET'" fi fi -fi
\ No newline at end of file +fi diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index b5943586..47a8f2cd 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -98,19 +98,19 @@ menu() { done } -# Offer SDDM Sequioa Wallpaper Option (only for non-video wallpapers) +# Offer SDDM Simple Wallpaper Option (only for non-video wallpapers) set_sddm_wallpaper() { sleep 1 - sddm_sequoia="/usr/share/sddm/themes/sequoia_2" + sddm_simple="/usr/share/sddm/themes/simple_sddm_2" - if [ -d "$sddm_sequoia" ]; then + if [ -d "$sddm_simple" ]; then # Check if yad is running to avoid multiple notifications 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" \ + if yad --info --text="Set current wallpaper as SDDM background?\n\nNOTE: This only applies to SIMPLE SDDM v2 Theme" \ --text-align=left \ --title="SDDM Background" \ --timeout=5 \ @@ -126,7 +126,7 @@ set_sddm_wallpaper() { # Open terminal to enter password $terminal -e bash -c "echo 'Enter your password to set wallpaper as SDDM Background'; \ - sudo cp -r $wallpaper_current '$sddm_sequoia/backgrounds/default' && \ + sudo cp -r $wallpaper_current '$sddm_simple/Backgrounds/default' && \ notify-send -i '$iDIR/ja.png' 'SDDM' 'Background SET'" fi fi @@ -236,4 +236,3 @@ if pidof rofi >/dev/null; then fi main - |
