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
480 stars 51 forks source link

Menu exits after each state-change #3

Closed srinskit closed 4 years ago

srinskit commented 4 years ago

Currently turning bluetooth on and connecting to a device looks like this

  1. Open rofi bluetooth
  2. Power > on
  3. Menu closes; Open rofi bluetooth again
  4. Device > Connected > yes
  5. Menu closes

The menu closes after each state-change. Is this because it takes time to perform the state-change and reflecting it live isn't feasible? It would be much more convenient if it returned to the main rofi-bluetooth menu.

nickclyde commented 4 years ago

Yeah, it takes a little bit of time to reflect the state changes, but I could probably rework it a little to bring the menu back up, and then just add an exit option to the bottom. That would definitely be more convenient! I'll see if I can get some time to work on it this weekend!

nickclyde commented 4 years ago

Should be working now, give it a shot and let me know what you think!

srinskit commented 4 years ago

Neat! Works great for me!

Does the menu have to exit and reappear while the state changes? Can it not stay on the menu and indicate progress with "Connecting" or "Turning on/off"? Does sound like a lot of rework.