From c2578231edeb0cb812bcd038d11d295132872141 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Jun 2024 17:23:26 +0900 Subject: Wallpaper-Effects (Super Shift W) --- config/hypr/scripts/WallustSwww.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/WallustSwww.sh b/config/hypr/scripts/WallustSwww.sh index 2a711028..dbf5c32f 100755 --- a/config/hypr/scripts/WallustSwww.sh +++ b/config/hypr/scripts/WallustSwww.sh @@ -22,10 +22,12 @@ if [ -f "$cache_file" ]; then # Get the wallpaper path from the cache file wallpaper_path=$(cat "$cache_file") echo $wallpaper_path - # Copy the wallpaper to the location Rofi can access + # symlink the wallpaper to the location Rofi can access if ln -sf "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper"; then ln_success=true # Set the flag to true upon successful execution fi + # copy the wallpaper for wallpaper effects + cp -r "$wallpaper_path" "$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" fi # Check the flag before executing further commands -- cgit v1.2.3