aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-06-03 17:23:26 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-06-03 17:23:26 +0900
commitc2578231edeb0cb812bcd038d11d295132872141 (patch)
treed384084a1caadfa09220219777e190a8ef055710 /config/hypr/scripts
parentd62b220ebc2c60c2f11e47f35616d9e803c07dd4 (diff)
Wallpaper-Effects (Super Shift W)
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/WallustSwww.sh4
1 files changed, 3 insertions, 1 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage