feat: bash

This commit is contained in:
ange 2024-06-23 11:51:38 +02:00
parent 937ab54f8c
commit 7ae0b331cf
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
30 changed files with 517 additions and 65 deletions

View file

@ -6,7 +6,7 @@ iwctl=(iwctl station wlan0)
for _ in {0..29}; do
if "${iwctl[@]}" show | grep -q '\s*State\s\+connected\s*$'; then
kill -35 "$(cat "$HOME/.cache/pidofbar")"
kill -36 "$(cat "$HOME/.cache/pidofbar")"
exit 0
fi
sleep 1