feat: bash
This commit is contained in:
parent
937ab54f8c
commit
7ae0b331cf
30 changed files with 517 additions and 65 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue