frickkkkkkkkkkk

This commit is contained in:
2026-04-23 05:56:52 -06:00
parent 8bc5ca6cdd
commit 79f5c5e240
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ send_discord_webhook() {
while true; do #infinite loop
# scan for those vendor ids
blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep -q ${vendor_ids[@]/#/-e }")
blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/-e }")
if [ -n "$blescan" ]; then
# LE detected poweroff to cryptdisk and notify
# alert spammmm
+2 -2
View File
@@ -27,14 +27,14 @@ if [ ! -d "$store_path" ]; then
sudo mkdir -p "$store_path"
fi
if [ ! -f "$discord_file" ]; then
if [ ! -f "$webhook_file" ]; then
echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations"
read discord_webhook
sudo bash -c "echo \"$discord_webhook\" > \"$webhook_file\""
echo
fi
if [ ! -f "$discord_tag" ]; then
if [ ! -f "$tag_file" ]; then
echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications"
read discord_tag_file
sudo bash -c "echo \"$discord_tag_file\" > \"$tag_file\""