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
128 B
Bash
Executable File

#!/usr/bin/env bash
killall -q polybar
while pgrep -u $UID -x polybar >/dev/null; do
sleep 0.5
done
echo "Bars stopped..."