From b91bdee0c338cb6d259b1b4a0fe6a6f671b7a0fa Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 28 Nov 2023 23:28:06 +0900 Subject: some small changes --- config/hypr/scripts/Refresh.sh | 2 +- config/hypr/scripts/WallpaperRandom.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index 63408027..cd399b0c 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -6,7 +6,7 @@ SCRIPTSDIR=$HOME/.config/hypr/scripts _ps=(waybar rofi) for _prs in "${_ps[@]}"; do if pidof "${_prs}" >/dev/null; then - pkill "${_prs}" + killall "${_prs}" fi done diff --git a/config/hypr/scripts/WallpaperRandom.sh b/config/hypr/scripts/WallpaperRandom.sh index 4184fca6..e0f8ee7d 100755 --- a/config/hypr/scripts/WallpaperRandom.sh +++ b/config/hypr/scripts/WallpaperRandom.sh @@ -29,7 +29,7 @@ while true; do done \ | sort -n | cut -d':' -f2- \ | while read -r img; do - swww img "$img" && $pywal_script && $pywal_refresh + swww img "$img" & $pywal_script & $pywal_refresh sleep $INTERVAL done -- cgit v1.2.3