vegardinho / alfred_bluetooth_controller

Alfred workflow for managing bluetooth settings and -connections
MIT License
95 stars 7 forks source link

How do I toggle bluetooth? #16

Closed deqing closed 1 year ago

deqing commented 2 years ago

If it's on then off, else turn it on.

Is it possible to do it in one command? Thanks

vegardinho commented 2 years ago

It was a feature previously, but I got requested to limit the amount of commands to prevent having to scroll, so I removed it.

abondarev84 commented 1 year ago

is it possible to have it back as an option to be enabled in the workflow? especially since pair + unpair are much less used (in general/regular usage imo) compared to toggle BT. thanks in advance

vegardinho commented 1 year ago

I guess I could add it in again, all the items might not be visible without scrolling, but personally, I don't mind.

abondarev84 commented 1 year ago

well pair + unpair take up two slots, maybe it's possible to set pair/unpair into a submenu and to have toggle as a permanent item ? or alternatively have toggle as the permanent item and on/off using a modifier key? just a suggestion

vegardinho commented 1 year ago

I agree submenus would probably clean up things. Do you know of any workflows using submenus? Can't seem to find out how to do them.

abondarev84 commented 1 year ago

this seems like it can work for you since bt case is much simpler compared to what the guy is describing here

vegardinho commented 1 year ago

I've though about this for a little now, and I'm still a little uncertain how to do this best. I'd like to maintain both ease of access (i.e. not too many submenus), visible actions (i.e. actions not too hidden, as with modifiers) and readability (i.e. not too many keywords). Suffice to say, it's not easy to come up with a good solution, and I bet people have different priorities as for those principles, and for the commands they use most frequently.

A possible setup may look something like the following, which shrimps the main menu to four items, yet preserves all actions, with both visual and quick access to most commands:

abondarev84 commented 1 year ago

this looks great!

vegardinho commented 1 year ago

After having tried with this setup for a little while, I think I'll keep most of the menus. A lot of the appeal of alfred is that you don't have to remember a lot of hotkeys that aren't visible – if i hide bton, btoff and btreset, I'll have to do trial every time to find the correct modifier most times, because I'll probably have forgot which ones to use. Instead I've opted for hiding some things (unpair through modifier), and added custom icons for all actions. I think this solves the problem of perceived oversized and chaotic alternatives view:

Captura de pantalla 2022-08-05 a las 6 04 45
vegardinho commented 1 year ago

Closed by #27 .

abondarev84 commented 1 year ago

This really looks good! Thanks for your hard work!