agsdotfilesdotshyprlandhyprland-configricerofirofi-configshell-scriptsswwwwallustwaybarwaybar-modulewaybar-themes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
624 B
29 lines
624 B
#!/usr/bin/env bash |
|
|
|
SCRIPTSDIR=$HOME/.config/hypr/scripts |
|
|
|
# Kill already running processes |
|
_ps=(waybar rofi) |
|
for _prs in "${_ps[@]}"; do |
|
if pidof "${_prs}" >/dev/null; then |
|
pkill "${_prs}" |
|
fi |
|
done |
|
|
|
sleep 0.1 |
|
# Relaunch waybar |
|
waybar & |
|
|
|
sleep 0.1 |
|
# Relaunch dunst with pywal-borders |
|
# ${SCRIPTSDIR}/PywalDunst.sh & |
|
|
|
# Relaunch swaync with pywal-borders |
|
${SCRIPTSDIR}/PywalSwaync.sh |
|
|
|
# Relaunching rainbow borders |
|
sleep 1 |
|
${SCRIPTSDIR}/RainbowBorders.sh & |
|
|
|
# for cava-pywal (note, need to manually restart cava once wallpaper changes) |
|
ln -sf "$HOME/.cache/wal/cava-colors" "$HOME/.config/cava/config" || true |