matryer / xbar

Put the output from any script or program into your macOS Menu Bar (the BitBar reboot)
https://xbarapp.com
MIT License
17.49k stars 643 forks source link

"password" or "masked" variable type #847

Open henrik opened 2 years ago

henrik commented 2 years ago

I'm currently updating my https://github.com/matryer/xbar-plugins/blob/main/Lifestyle/sureflap.15s.rb for xbar.

The new variable support is really nice! As my plugin needs auth details for a service, it would be nice if the password variable could be shown masked (bonus points: with a hide/show toggle). This could perhaps be a "password" type, or a "masked" type, or some kind of setting on the string type.