richie5um / TextBar-Recipes

TextBar Recipes
368 stars 35 forks source link

Convert BitBar scripts? #59

Open gingerbeardman opened 4 years ago

gingerbeardman commented 4 years ago

Is there a recommended manual method or automated utility to convert BitBar "plugins" to TextBar scripts?

richie5um commented 4 years ago

There isn’t, but if you send me one I’ll have a quick go. :)

gingerbeardman commented 4 years ago

This is the only one I use: https://github.com/matryer/bitbar-plugins/blob/master/Dev/GitHub/notifications.30s.py

It's a GitHub notfications client that allows marking things as Read or opening in your default browser.

normal: Screen shot 2019-09-24 at 19 57 08

holding alt: Screen shot 2019-09-24 at 19 58 34

richie5um commented 4 years ago

Erm. I've had a look and I don't think there is a quick way to covert from BitBar script to TextBar script. It is technically possible, but would require a lot of work in TextBar to handle the different approach.

I'd definitely like to be able to adopt some of the elements of BitBar, but I'm going to struggle to find the time I need to make that change.

gingerbeardman commented 4 years ago

Understandable. Thanks though!

I think what would be a help would be to outline the differences in approach so that interested parties (like me) could rebuild a BitBar script for TextBar.