* add username_variable and password_variable to options to mail segment
* add server variable
* make username/password optional for mail, and fix getting env var typo
* add port variable for email
* fix sleepy port_variable typo
* Added virtual environment tips
Documented the use of `POWERLINE_COMMAND` env variable for improved performance with virtual environments.
* Clarify client versions
Adding details from the GitHub issues to clarify the installation docs.
* Added troubleshooting tip for Python environments
* Allow passing args from render() to hl() and hlstyle() functions
* New escape arg in ShellRenderer's hlstyle() to enable/disable escaping
* Fix invalid escape sequence
* Emulate a right prompt in bash
Fixes#2103
* Document the new hl_args argument
* Add feature to ignore certain virtualenv names
* Add tests for testing ignored names (specific as well as default)
* Don't use `zsh.environ` as this does not stringify the environment
* Updated uptime segment to have show time in a better way
* Made current solution backwards compatible
* Include proposed change for proper uptime support
* Updated tests to reflect new default values for uptime
Requires a secret named PYPI_TOKEN containing a valid PyPI API token.
Note that this drop support for Python 2.6 as GitHub Actions only
supports Python 2.7+.
Fixes#2116
* Shifted away from (abandoned) Yahoo API to OpenWeatherMap
* Calculate gradient based on converted temperature
* Added Stubs for https://freegeoip.app as well as https://api.openweathermap.com
* Updated tests for weather segment with OpenWeatherMap mocking
* Make Weather API key configurable
* Added documentation for the OpenWeatherMap API keys
Although the docs for psutil say 0.0 is a nonsense value that's returned
first and supposed to be ignored, but on a relatively idle system it
will actually return 0.0 occasionally after that. So at the expense of
displaying that "nonsense value" when the statusbar first loads, this
change gets rid of the visual disruptions of having the segment pop out
and back in periodically.
Fixes#2110.
Co-authored-by: 2rs2ts <2rs2ts@github>
Using the segment `powerline.segments.common.players.dbus_player` does
not work when a player has not been specified explicitly. In such a
case, with this PR, the segment will automatically choose the 1st media
player that implements "org.mpris.MediaPlayer2.Player".
This can be useful in displaying tracks from media players in powerline
without having to know the corresponding media player's properties
before-hand.
For example, this also works for displaying media tracks being played
on Google Chrome (since Chrome implements D-Bus interface) on YouTube,
etc.
* Add vim plugin coc.nvim segments.
* Add coc highlight group to colorschemes: default, solarized, solarizedlight.
* Fix coc highlight group in colorschemes: solarized, solarizedlight.
* Add document for segments.vim.plugin.coc.coc
* Update Powerline for ipython >=7
The method used for `since_5` does not work, but `since_7` does, however it is not documented.
I personally haven't found `c = get_config()` to be useful once you have generated the default `~/.ipython/profile_default/ipython_config.py` file.
Since `c.TerminalInteractiveShell.simple_prompt` is set to `False` by default, it's not worth mentioning it. There's many other things that **can** break if you change the default config options too. Additionally, `simple_prompt=True` doesn't fatally break anything, just make things less pretty. So it'd be better to not have that, but mention if things don't look pretty to make sure they didn't change that default.
* Making it work on latest version
* spacing