aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Refresh.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay.com>2023-11-25 18:54:55 +0900
committerJaKooLit <jimmielovejay.com>2023-11-25 18:54:55 +0900
commit19f025c2dc27da54127ae302482398be61b55ebe (patch)
tree70878cbe3027d9da452658a8644e33d83c1b3ea2 /config/hypr/scripts/Refresh.sh
parente96d2b933ab630d52061fff9817c95f8a6cf67c2 (diff)
updated
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