aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Refresh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/Refresh.sh')
-rwxr-xr-xconfig/hypr/scripts/Refresh.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh
index 923d4db8..3037458b 100755
--- a/config/hypr/scripts/Refresh.sh
+++ b/config/hypr/scripts/Refresh.sh
@@ -2,16 +2,17 @@
SCRIPTSDIR=$HOME/.config/hypr/scripts
-# Kill already running process
+# Kill already running processes
_ps=(waybar dunst rofi)
for _prs in "${_ps[@]}"; do
- if [[ $(pidof ${_prs}) ]]; then
- pkill ${_prs}
- fi
+ if pidof "${_prs}" >/dev/null; then
+ pkill "${_prs}"
+ fi
done
-# Lauch notification daemon (dunst)
-${SCRIPTSDIR}/Dunst.sh &
+# relaunch apps
+dunst &
+waybar &
-# Lauch statusbar (waybar)
-${SCRIPTSDIR}/Waybar.sh &
+#sleep 1
+#${SCRIPTSDIR}/RainbowBorders.sh & \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage