TextBar-Recipes icon indicating copy to clipboard operation
TextBar-Recipes copied to clipboard

Convert BitBar scripts?

Open gingerbeardman opened this issue 5 years ago • 4 comments

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

gingerbeardman avatar Sep 24 '19 14:09 gingerbeardman

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

richie5um avatar Sep 24 '19 18:09 richie5um

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

gingerbeardman avatar Sep 24 '19 18:09 gingerbeardman

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.

richie5um avatar Sep 30 '19 19:09 richie5um

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.

gingerbeardman avatar Oct 01 '19 09:10 gingerbeardman