diff --git a/dreammaker.sh b/dreammaker.sh index b3d723e..b509160 100644 --- a/dreammaker.sh +++ b/dreammaker.sh @@ -2,7 +2,7 @@ set -e # faiulure is not tolerated here ## easy to add ids~ ### CO:1C:6A is phone in bt pair mode -vendor_ids=('CO:1C:6A' '00:25:DF' '00:58:28' '00:C0:D4' '84:70:03') +vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03') webhook_file="/home/princesspi/.discord_url" tag_file="/home/princesspi/.discord_tag" username="[DЯΣΛMMΛKΣЯ]" @@ -20,7 +20,7 @@ send_discord_webhook() { while true; do #infinite loop # scan for those vendor ids - blescan=$(bluetoothctl -t 5 scan on | awk '{print $3}' | grep "${vendor_ids[@]/#/-e }") + blescan=$(bluetoothctl -t 60 scan on | awk '{print $3}' | grep "${vendor_ids[@]/#/-e }") if [ -n "$blescan" ]; then # LE detected poweroff to cryptdisk and notify # alert spammmm