aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/DarkLight.sh
diff options
context:
space:
mode:
authorSuJin353 <131243461+SuJin353@users.noreply.github.com>2024-09-25 15:38:55 +0700
committerGitHub <noreply@github.com>2024-09-25 15:38:55 +0700
commitccba7a1ef604b509e8a371d2f91f54edc4dc8397 (patch)
treeb25b30accd0e21f9ad64c0596249276b52a85812 /config/hypr/scripts/DarkLight.sh
parent65a6dddd7641cf7fb2aca7f3c8ebe657a631621d (diff)
Update DarkLight.sh
Diffstat (limited to 'config/hypr/scripts/DarkLight.sh')
-rwxr-xr-xconfig/hypr/scripts/DarkLight.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/DarkLight.sh b/config/hypr/scripts/DarkLight.sh
index 66c8549d..d34f5cfc 100755
--- a/config/hypr/scripts/DarkLight.sh
+++ b/config/hypr/scripts/DarkLight.sh
@@ -115,9 +115,9 @@ current_wallpaper=$(swww query | awk -F'/' '{print $NF}' | awk '{print $1}')
# Set Dynamic Wallpaper for Dark or Light Mode
if [ "$next_mode" = "Dark" ] && [ -f "$light_wallpapers/$current_wallpaper" ]; then
- next_wallpaper="$dark_wallpapers/$current_wallpaper"
+ next_wallpaper="$dark_wallpapers/${current_wallpaper/Light/Dark"
elif [ "$next_mode" = "Light" ] && [ -f "$dark_wallpapers/$current_wallpaper" ]; then
- next_wallpaper="$light_wallpapers/$current_wallpaper"
+ next_wallpaper="$light_wallpapers/$current_wallpaper/Dark/Light"
else
if [ "$next_mode" = "Dark" ]; then
next_wallpaper="$(find "${dark_wallpapers}" -type f \( -iname "*.jpg" -o -iname "*.png" \) -print0 | shuf -n1 -z | xargs -0)"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage