Closed sweep-ai[bot] closed 9 months ago
This PR adds functionality to display the currently connected Bluetooth device name on the lemonbar script in bin/bspwm/bar.
bin/bspwm/bar
bin/bluetooth/bluetooth-connect
/tmp/connected_bluetooth_device
_bluetooth
_modules
Tested the changes locally by connecting to a Bluetooth device and verifying that the device name is displayed correctly on the bar.
Issue #221
Fixes #221.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/add-bluetooth-device-name
Description
This PR adds functionality to display the currently connected Bluetooth device name on the lemonbar script in
bin/bspwm/bar
.Changes Made
bin/bluetooth/bluetooth-connect
script to write the name of the connected device to a file/tmp/connected_bluetooth_device
._bluetooth
function tobin/bspwm/bar
script to read the file and display the device name on the bar._modules
function inbin/bspwm/bar
script to include the call to_bluetooth
function.Testing
Tested the changes locally by connecting to a Bluetooth device and verifying that the device name is displayed correctly on the bar.
Related Issue
Issue #221
Checklist
Fixes #221.
To checkout this PR branch, run the following command in your terminal: