diff options
| author | JaKooLit <jimmielovejay.com> | 2023-11-25 18:54:55 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2023-11-25 18:54:55 +0900 |
| commit | 19f025c2dc27da54127ae302482398be61b55ebe (patch) | |
| tree | 70878cbe3027d9da452658a8644e33d83c1b3ea2 /config/hypr/scripts/Refresh.sh | |
| parent | e96d2b933ab630d52061fff9817c95f8a6cf67c2 (diff) | |
updated
Diffstat (limited to 'config/hypr/scripts/Refresh.sh')
| -rwxr-xr-x | config/hypr/scripts/Refresh.sh | 17 |
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 |
