diff options
| author | Ja.KooLit <jimmielovejay@gmail.com> | 2023-11-25 18:57:40 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-25 18:57:40 +0900 |
| commit | 823ce273e69e716be814473430d0cfa5cb714b7d (patch) | |
| tree | 70878cbe3027d9da452658a8644e33d83c1b3ea2 /config/hypr/scripts/Refresh.sh | |
| parent | fbf04572b4ed8867da3c96551b25261401364be0 (diff) | |
| parent | 19f025c2dc27da54127ae302482398be61b55ebe (diff) | |
Merge pull request #34 from JaKooLit/v2.1.9
V2.1.9
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 |
