12 Commits

Author SHA1 Message Date
Philip Wellnitz [10]
6b36ba8ae9 fix #2257 2024-05-12 04:45:27 +09:00
Philip Wellnitz
7310d53ade
i3 segments rework (#2159)
rework i3wm segments
2021-03-15 03:45:17 +09:00
sol
1869cc8bed
Use updated i3ipc syntax in i3 segments/listers (#2062)
Close #2046

Co-authored-by: s-ol <s-ol@users.noreply.github.com>
2021-01-08 19:25:53 +09:00
StopMotionCuber
a6060c760a
Fix non-meaningful venv names. (#2134)
* 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
2020-10-27 21:50:36 +09:00
StopMotionCuber
a80bbdf17d
Updated uptime segment to have show time in a better way (#2036)
* 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
2020-10-06 04:32:36 +09:00
StopMotionCuber
73881c1dce
Shifted away from (abandoned) Yahoo API to OpenWeatherMap (#2038)
* 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
2020-09-19 14:31:49 +09:00
Philip Wellnitz
59a5425597
Add timezone argument to date and fuzzy_time segments (#2097)
* add basic timezone support
2020-05-26 20:08:44 +09:00
Philip Wellnitz
6569cc6cfd disable unstable network_load segment test 2019-10-08 16:05:45 +09:00
Philip Wellnitz
bc33b1ce31
fix #1969 (#2026) 2019-09-27 14:33:24 +02:00
Foo
2a01c4687e Supply segment_info to powerline.segments.env.user() segment in tests 2017-12-02 18:30:24 +03:00
Foo
443679d532 Make last_pipe_status fallback to last_exit_code 2017-05-16 19:34:26 +03:00
Foo
f3bf749467 Move tests run by run_python_tests to tests/test_python 2017-04-30 18:20:30 +03:00