From cef78da1defe6163b1af5ee5cd03cdf914dbaab5 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 17 Nov 2024 18:51:25 +0900 Subject: fix WallustSwww.sh in which swww-git added Lanczos3 on the cache file --- config/hypr/scripts/WallustSwww.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3