aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WallpaperRandom.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-23 11:32:17 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-23 11:32:17 +0900
commit676aef31db7a9963c0f251b97effcad9e8e9cabd (patch)
treee2b6b084f8bc7f5244925839ff75d2adcbb1521e /config/hypr/scripts/WallpaperRandom.sh
parenta056169608ddc60c0e35b0094e1eb32bd46d1aff (diff)
Updated random wallpaper and refresh.sh
Diffstat (limited to 'config/hypr/scripts/WallpaperRandom.sh')
-rwxr-xr-xconfig/hypr/scripts/WallpaperRandom.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hypr/scripts/WallpaperRandom.sh b/config/hypr/scripts/WallpaperRandom.sh
index e7d91ec1..ea04aa01 100755
--- a/config/hypr/scripts/WallpaperRandom.sh
+++ b/config/hypr/scripts/WallpaperRandom.sh
@@ -6,6 +6,7 @@
# NOTE: this script uses bash (not POSIX shell) for the RANDOM variable
pywal_script=$HOME/.config/hypr/scripts/PywalSwww.sh
+pywal_refresh=$HOME/.config/hypr/scripts/Refresh.sh
if [[ $# -lt 1 ]] || [[ ! -d $1 ]]; then
echo "Usage:
@@ -28,7 +29,7 @@ while true; do
done \
| sort -n | cut -d':' -f2- \
| while read -r img; do
- swww img "$img" && $pywal_script
+ swww img "$img" && $pywal_script && $pywal_refresh
sleep $INTERVAL
done
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage