21 lines
354 B
Bash
Executable File
21 lines
354 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPTSDIR=$HOME/.config/hypr/scripts
|
|
|
|
# Kill already running process
|
|
_ps=(waybar mako)
|
|
for _prs in "${_ps[@]}"; do
|
|
if [[ $(pidof ${_prs}) ]]; then
|
|
killall -9 ${_prs}
|
|
fi
|
|
done
|
|
|
|
# Lauch notification daemon (mako)
|
|
${SCRIPTSDIR}/Mako.sh &
|
|
|
|
# Lauch statusbar (waybar)
|
|
${SCRIPTSDIR}/Waybar.sh &
|
|
|
|
# Lauch syncthing
|
|
${SCRIPTSDIR}/syncthing.sh &
|