* 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
Let's say if the player is stopped (means the player has no track
queued), the player segment will still keep displaying the string
consisting just of the player status symbol ("stop" symbol) and
any other constants present in the `format` parameter.
With this commit, the new parameter `player_inactive_override` will
take over the player segment display in cases where the player is
stopped and with no tracks in queue.
If `player_inactive_override` is `None` (defaults), it will
maintain the previous behaviour (backwards compatibility).
* 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