2023-10-12 21:32:56 +09:00

18 lines
314 B
Bash

#!/bin/bash
SCRIPTSDIR=$HOME/.config/hypr/scripts
# Kill already running process
_ps=(waybar mako dunst)
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 &