Open ruxpendp opened 3 years ago
Would this be just for display purposes?
For me yes; the plugin I'm working on manages its own state. At the moment I'm just rendering check boxes in the text field itself, which actually works just fine but feels less "native" because the look and placement of the checkmark is inconsistent with native menus.
mine
native
And if you click a checked menu?
Then xbar exec:s whatever it should and then refreshes, and it's up to the script do determine if the check mark should be removed..?
I'm thinking this would be a good extension, and just for display purposes, as stated above.
Magicus is correct – when you click on the checked menu no extra data needs to get passed from xbar or anything. All this feature would be is a setting to display that menu item with a check box (checked=true
or something), and that’s it.
@leaanthony We should add this. Who fancies implementing it?
Should be relatively easy as checked is already supported in Wails
I’m up for it if no one else took it already 🧇
May I ask if the checked
option is already implemented? Didn't see it in the doc.
It would be great to add a check mark next to some options. Looks like this was requested at some point (#329) and maybe even implemented in the old bitbar (#330)? But it seems like it didn't make it into the reboot.
Love the new life you've breathed into this project as of late!!