diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2024-06-03 18:23:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-03 18:23:35 +0900 |
| commit | 45b61327e9dc7c40181cc3046eeb75bce4cb0d9c (patch) | |
| tree | 809c3bd4a1298804e17c4601612ac54befd42bb6 /config/hypr/scripts | |
| parent | 203b530e6b61e53cff322fd822dc70a5e611b35f (diff) | |
| parent | 8f64f407e24e89f2115287804200eb186e175ca9 (diff) | |
Merge pull request #323 from JaKooLit/development
Development to main - Pre-release
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/WallustSwww.sh | 4 |
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 |
