This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/home/bin/stop-polybar

8 lines
159 B
Bash
Executable File

#!/usr/bin/env bash
# will stop any running polybar instances
while [ "$(pidof polybar)" ]; do
pkill polybar && sleep 0.5
echo "Bars stopped..."
done