aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/Refresh.sh4
-rwxr-xr-xconfig/hypr/scripts/WallpaperRandom.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh
index b5e705d3..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
@@ -14,7 +14,7 @@ done
waybar &
# Relaunch dunst with pywal-borders
-${SCRIPTSDIR}/PywalDunst.sh
+${SCRIPTSDIR}/PywalDunst.sh &
## trying to figure out how to restart Rainbow borders
#sleep 1
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage