From a34e572d324dd90601c85aa064f3fa96c3e45007 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 13 Jan 2025 10:38:49 +0900 Subject: I think this is the ultimate solution to the wallust colors not applying after wallpaper change./. ha ha --- config/hypr/UserScripts/WallpaperEffects.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config/hypr/UserScripts/WallpaperEffects.sh') diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 9a9d289c..f1984dab 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -1,7 +1,6 @@ #!/bin/bash # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # # Wallpaper Effects using ImageMagick (SUPER SHIFT W) -# Inspiration from ML4W - Stephan Raabe https://github.com/mylinuxforwork/dotfiles # Variables current_wallpaper="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" @@ -40,15 +39,16 @@ declare -A effects=( # Function to apply no effects no-effects() { - swww img -o "$focused_monitor" "$current_wallpaper" $SWWW_PARAMS & + swww img -o "$focused_monitor" "$current_wallpaper" $SWWW_PARAMS && # Wait for swww command to complete wait $! # Run other commands after swww - wallust run "$current_wallpaper" -s & - # Wait to complete + wallust run "$current_wallpaper" -s && wait $! # Refresh rofi, waybar, wallust palettes - "${SCRIPTSDIR}/Refresh.sh" + sleep 2 + "$SCRIPTSDIR/Refresh.sh" + notify-send -u low -i "$iDIR/bell.png" "No wallpaper effects" # copying wallpaper for rofi menu cp "$current_wallpaper" "$wallpaper_output" -- cgit v1.2.3