swarshah / hyper-custom-touchbar

Add custom buttons to the Macbook's Touch Bar when using Hyper terminal.
MIT License
35 stars 9 forks source link

Support more touchBar items #20

Open Efrat19 opened 4 years ago

Efrat19 commented 4 years ago

this plugin is really cool but it could be very useful to support other touchbar items rather than buttons (for example- sliders) electron touchbar api support that so it cant be so difficult, what do you think @SwarShah? Thanks again for this amazing plugin! 😊

swarshah commented 4 years ago

@Efrat19 Thanks.

Yes, it wouldn’t be hard to add it in slider https://electronjs.org/docs/api/touch-bar-slider or scrubber https://electronjs.org/docs/api/touch-bar-scrubber but what are the use cases you have in mind for those?

We can definitely use the scrubber to add more items to it as it's scrollable but it doesn't have a lot of customization like buttons and popover do but that's the trade-off of having more items.

Scrubber will look something like following.

Touch Bar Shot 2019-09-29 at 2 55 49 PM Touch Bar Shot 2019-09-29 at 3 01 51 PM