diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2024-11-17 18:51:25 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2024-11-17 18:51:25 +0900 |
| commit | cef78da1defe6163b1af5ee5cd03cdf914dbaab5 (patch) | |
| tree | 7dedc56a9d8a34aa64c95b36520eb49a3c5ccd7f | |
| parent | d31589183fb15b6de3e2f9ffd2b315563e7362aa (diff) | |
fix WallustSwww.sh in which swww-git added Lanczos3 on the cache file
| -rwxr-xr-x | config/hypr/scripts/WallustSwww.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/scripts/WallustSwww.sh b/config/hypr/scripts/WallustSwww.sh index dbf5c32f..62dde375 100755 --- a/config/hypr/scripts/WallustSwww.sh +++ b/config/hypr/scripts/WallustSwww.sh @@ -20,7 +20,7 @@ echo $cache_file # Check if the cache file exists for the current monitor output if [ -f "$cache_file" ]; then # Get the wallpaper path from the cache file - wallpaper_path=$(cat "$cache_file") + wallpaper_path=$(grep -v 'Lanczos3' "$cache_file" | head -n 1) echo $wallpaper_path # symlink the wallpaper to the location Rofi can access if ln -sf "$wallpaper_path" "$HOME/.config/rofi/.current_wallpaper"; then |
