update reload script

This commit is contained in:
sudacode 2025-03-17 01:03:15 -07:00
parent d1f3def242
commit b931f47e07

View File

@ -1,6 +1,7 @@
#!/bin/sh
if pgrep -af "/usr/bin/waybar"; then
if pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config-battery.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css" ||
pgrep -af "waybar -c /home/sudacode/.config/waybar/catppuccin-macchiato/config.jsonc -s /home/sudacode/.config/waybar/catppuccin-macchiato/style.css"; then
killall waybar
fi