nickclyde / rofi-bluetooth

🔷 A script that generates a rofi menu that uses bluetoothctl to connect to bluetooth devices and display status info.
GNU General Public License v3.0
481 stars 51 forks source link

Use different icons for on and off states #8

Closed indradhanush closed 3 years ago

indradhanush commented 3 years ago

Hi @ClydeDroid , first of all thank you so much for this repo.

In this PR I added different visual indicators for "On" and "Off" state which I felt might be nice instead of text.

Here's how they look with this patch:

On and connected to a device: s_2021-02-18_011033

On:
s_2021-02-18_013258

Off: s_2021-02-18_010835

I copied the glyphs from the nerd font cheatsheet.

Additionally, we could have three different icons for the three states along with maybe a blue colored icon for the "connected to a device state". But that change would be slightly more involved than a few character changes especially around the logic to print multiple connected devices. I did not want to start working on that without discussing about it with you first. Let me know what you think. :smile: