-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add currently connected Bluetooth device name to lemonbar script #222
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No changes required. The code changes are well done. The addition of the _bluetooth
function in bin/bspwm/bar
and the update to the _modules
function to include _bluetooth
are particularly good. The change in bin/bluetooth/bluetooth-connect
to write the name of the connected Bluetooth device to a temporary file is also a good addition. Keep up the good work!
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: