lipido / kargos

KDE Plasma port of GNOME Argos and OSX BitBar
GNU General Public License v3.0
126 stars 13 forks source link

kargos version environment variable #42

Open fenhl opened 3 years ago

fenhl commented 3 years ago

I would like to write plugins that are compatible with kargos as well as other BitBar implementations like Argos, xbar, or SwiftBar. As such it would be nice to have an environment variable to be able to identify the app running the plugin as kargos, ideally with version info, e.g. KARGOS_VERSION=x.y.z. That way I would be able to make full use of the features available in the given implementation and version, with graceful fallbacks for unsupported features.

shocklateboy92 commented 3 years ago

Sounds like a good idea. Unfortunately, I don't really have much time to work on this at the moment. If you're willing to make a pull request, I'll be happy to review.

On Sun, Sep 5, 2021 at 10:58 PM Fenhl @.***> wrote:

I would like to write plugins that are compatible with kargos as well as other BitBar implementations like argos, xbar, or SwiftBar. As such it would be nice to have an environment variable to be able to identify the app running the plugin as kargos, ideally with version info, e.g. KARGOS_VERSION=x.y.z. That way I would be able to make full use of the features available in the given implementation and version, with graceful fallbacks for unsupported features.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lipido/kargos/issues/42, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGRDLK3JEUORYOPKC4QG3LUARKA7ANCNFSM5DPWLQCA .