|
|
|
@ -15,7 +15,7 @@ file_exists() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# Kill already running processes |
|
|
|
# Kill already running processes |
|
|
|
_ps=(waybar rofi swaync) |
|
|
|
_ps=(waybar rofi swaync cava) |
|
|
|
for _prs in "${_ps[@]}"; do |
|
|
|
for _prs in "${_ps[@]}"; do |
|
|
|
if pidof "${_prs}" >/dev/null; then |
|
|
|
if pidof "${_prs}" >/dev/null; then |
|
|
|
pkill "${_prs}" |
|
|
|
pkill "${_prs}" |
|
|
|
@ -39,4 +39,4 @@ fi |
|
|
|
# for cava-pywal (note, need to manually restart cava once wallpaper changes) |
|
|
|
# for cava-pywal (note, need to manually restart cava once wallpaper changes) |
|
|
|
ln -sf "$HOME/.cache/wal/cava-colors" "$HOME/.config/cava/config" || true |
|
|
|
ln -sf "$HOME/.cache/wal/cava-colors" "$HOME/.config/cava/config" || true |
|
|
|
|
|
|
|
|
|
|
|
exit 0 |
|
|
|
exit 0 |
|
|
|
|