You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overrides values from powerline/themes/ext/key.json. Top-level key is treated as a name of the theme for which overrides are used: e.g. to disable cwd segment defined in powerline/themes/shell/default.json one needs to use:
This actually works fine, but I can't get override to work (using BASH), and I'm unsure how it can, given that there's no name for the block that actually contains the powerline.segments.common.env.cwd function.
Is there interest in transitioning to YAML by any of the maintainers? (I could help with that if you want help, btw, happy to throw in some effort :) ) I saw #2012 (comment) but I didn't see anything else related to it.
Either way, to be able to query parameters related to, for instance, cwd (current working directory) I think we'd need at least more structured json, like:
Thanks to everyone still working on this project. I use powerline everyday and I really love it 💙
The documentation for theme overrides located at configuration/local.html#environment-variables-overrides seems to be out of date:
I want to submit a PR to fix it, but I can't seem to get it to work myself.
Here's a snippet of the top of my
~/.config/powerline/themes/shell/default.json
:This actually works fine, but I can't get override to work (using BASH), and I'm unsure how it can, given that there's no name for the block that actually contains the
powerline.segments.common.env.cwd
function.Is there interest in transitioning to YAML by any of the maintainers? (I could help with that if you want help, btw, happy to throw in some effort :) ) I saw #2012 (comment) but I didn't see anything else related to it.
Either way, to be able to query parameters related to, for instance, cwd (current working directory) I think we'd need at least more structured json, like:
Then I could see something like this working, to disable the cwd:
Thanks in advance for your time, and any guidance you can provide.
The text was updated successfully, but these errors were encountered: