Skip to content

Instantly share code, notes, and snippets.

@partyonthelake
partyonthelake / bluetooth.sh
Created April 8, 2023 20:29 — forked from RamonGilabert/bluetooth.sh
Bluetoothctl automation
#!/usr/bin/expect -f
set prompt "#"
set address [lindex $argv 0]
spawn sudo bluetoothctl -a
expect -re $prompt
send "remove $address\r"
sleep 1
expect -re $prompt
@partyonthelake
partyonthelake / config.json
Created October 6, 2022 00:51 — forked from bjesus/README.md
Weather widget for waybar
"custom/weather": {
"format": "{}",
"tooltip": true,
"interval": 3600,
"exec": "waybar-wttr.py",
"return-type": "json"
},