aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
authorMaximilian Zhu <maximilian.zhu@loewenrot.de>2025-12-29 10:57:53 +0100
committerGitHub <noreply@github.com>2025-12-29 10:57:53 +0100
commit05a8b017c97116e6adebaf58070de401889ad055 (patch)
treee324279d958f2510006edf1fbb1a1c21d1b13ff4 /config/hypr/scripts
parentf7725c6feeebdd1046e7bc3109f24bf40087da49 (diff)
Fix: Update wallpaper path in WallustSwww.sh
Updated wallpaper path in WallustSwww.sh to match the newest version of swww. It worked in a test on my local machine on fedora. The change was necessary to let ~/.config/rofi/.current_wallpaper to update automatically and it also fixed wallust updating the color scheme automatically. It also made hyprlock to use the current wallpaper as background. Rofi's embed wallpaper section got fixed too.
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/WallustSwww.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hypr/scripts/WallustSwww.sh b/config/hypr/scripts/WallustSwww.sh
index 657f41ab..f3da3e35 100755
--- a/config/hypr/scripts/WallustSwww.sh
+++ b/config/hypr/scripts/WallustSwww.sh
@@ -40,7 +40,8 @@ else
if [[ -f "$cache_file" ]]; then
# The first non-filter line is the original wallpaper path
# wallpaper_path="$(grep -v 'Lanczos3' "$cache_file" | head -n 1)"
- wallpaper_path=$(swww query | grep $current_monitor | awk '{print $9}')
+ # wallpaper_path=$(swww query | grep $current_monitor | awk '{print $9}')
+ wallpaper_path=$(swww query | sed 's/.*image: //')
fi
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage