dotfiles/scripts/bar.sh
2023-08-22 10:05:57 -05:00

9 lines
97 B
Bash
Executable file

#!/bin/sh
wb=$(pgrep waybar)
if [[ "$wb" -gt 1 ]]; then
kill $wb
else
exec waybar &
fi