Compare commits
2 commits
867f717c5f
...
9d67a48dd3
Author | SHA1 | Date | |
---|---|---|---|
9d67a48dd3 | |||
74c82adf73 |
2 changed files with 11 additions and 4 deletions
|
@ -13,6 +13,13 @@ fade-out-step = 0.05;
|
|||
|
||||
# Corners
|
||||
corner-radius = 10;
|
||||
round-borders = 1;
|
||||
detect-rounded-corners = true;
|
||||
round-borders-rule = [
|
||||
"3:class_g = 'XTerm'",
|
||||
"3:class_g = 'URxvt'",
|
||||
"15:class_g = 'Signal'"
|
||||
];
|
||||
rounded-corners-exclude = [
|
||||
"class_g = 'dwmtray'",
|
||||
"class_g = 'dwm'",
|
||||
|
|
|
@ -9,12 +9,12 @@ bt_choice=""
|
|||
function get-bt-devices() {
|
||||
DEVICES=()
|
||||
IFS="\n"
|
||||
for device in $(bluetoothctl devices); do
|
||||
IFS=' '
|
||||
read -r ignore address name <<<"$(echo $device)"
|
||||
while read -r device; do
|
||||
address=${device:7:17}
|
||||
name=${device:25}
|
||||
echo "$name - $address"
|
||||
DEVICES+=(["$name"]="$address")
|
||||
done
|
||||
done <<< "$(bluetoothctl devices)"
|
||||
}
|
||||
|
||||
function bt-device-choice() {
|
||||
|
|
Loading…
Reference in a new issue