diff options
Diffstat (limited to 'config/hypr/scripts/Refresh.sh')
| -rwxr-xr-x | config/hypr/scripts/Refresh.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh new file mode 100755 index 00000000..b8ae1cd3 --- /dev/null +++ b/config/hypr/scripts/Refresh.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +SCRIPTSDIR=$HOME/.config/hypr/scripts + +# Kill already running process +_ps=(waybar mako dunst wofi) +for _prs in "${_ps[@]}"; do + if [[ $(pidof ${_prs}) ]]; then + killall -9 ${_prs} + fi +done + +# Lauch notification daemon (dunst) +${SCRIPTSDIR}/Dunst.sh & + +# Lauch statusbar (waybar) +${SCRIPTSDIR}/Waybar.sh & |
