add reload script

This commit is contained in:
sudacode 2025-03-17 00:45:02 -07:00
parent 8511d528ed
commit 4fe3199161

9
waybar/reload-waybar Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
if pgrep -af "/usr/bin/waybar"; then
killall waybar
fi
BASE_DIR="$HOME/.config/waybar/catppuccin-macchiato"
waybar -c "$BASE_DIR/config-battery.jsonc" -s "$BASE_DIR/style.css" &>/dev/null &