aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2024-11-17 18:51:25 +0900
committerJaKooLit <ejhay.games@gmail.com>2024-11-17 18:51:25 +0900
commitcef78da1defe6163b1af5ee5cd03cdf914dbaab5 (patch)
tree7dedc56a9d8a34aa64c95b36520eb49a3c5ccd7f
parentd31589183fb15b6de3e2f9ffd2b315563e7362aa (diff)
fix WallustSwww.sh in which swww-git added Lanczos3 on the cache file
-rwxr-xr-xconfig/hypr/scripts/WallustSwww.sh2
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage