Commit Graph

1873 Commits

Author SHA1 Message Date
Patrick Braune
7b861a42f5 read file in binary and replace encoding errors 2021-02-02 18:54:10 +01:00
sanjay-cpu
b5f485bc5a Travis-ci: added support for ppc64le 2020-10-21 17:37:21 +02:00
Erik Johnson
39d8d2778d pango: don't expand '&' when it is part of an HTML escape sequence 2020-10-10 13:28:43 +02:00
Erik Johnson
bfbdc60b31
wunderground: Switch value used for weather condition name (#793)
`wxPhraseShort` ends up being abbreviated a lot. `wxPhraseMedium` is
equivalent to how wunderground worked before the recent rewrite. I just
ended up missing this during the rewrite.
2020-10-04 17:31:09 +02:00
Erik Johnson
992fb8cecb
Team colorization updates for scores backends (#792)
MLB: San Diego changed color scheme for 2020
NHL: Adding Seattle Kraken (2021 expansion team)
2020-10-02 16:47:42 +02:00
Erik Johnson
102a87c864
Add new status "maintenance" (#791)
See https://www.githubstatus.com/incidents/ry5psbndh11j
2020-10-01 23:33:36 +02:00
enkore
51acc6d342
README: add rtfd badge 2020-09-07 16:52:44 +02:00
enkore
506d29965d
docs: update copyright year 2020-09-07 16:51:18 +02:00
enkore
51a11c10cc
docs/module.rst: update branch name 2020-09-06 18:47:09 +02:00
enkore
8749fe81cc
setup.py: -Python 3.5 +Python 3.8 2020-09-06 18:39:50 +02:00
lasers
259f423408
setup: add python_requires='>=3.5' (#723) 2020-09-06 18:37:12 +02:00
Erik Johnson
d5082fab73
Fix both broken weather modules (#789)
* Fix both broken weather modules

The Weather.com changed its API again, this fixes that as well as fixing
a bug that caused the weather conditions to always show as "None".

For Weather Underground, the module had been broken for some time due to
the discontinuation of their API. The module has been rewritten to use
the same API calls that the website itself uses.

* Fix double-click browser launch in wunderground module

* Add example of longer location_code for weather.com
2020-08-27 20:49:26 -05:00
Erik Johnson
a7c24e43b2
Update weather.com backend to reflect upstream changes (#788)
Weather.com embeds the weather data as a JSON in a <script> tag, so this
just updates to reflect recent changes to how that information is
embedded.

Co-authored-by: Erik Johnson <erik.johnson@centurylink.com>
2020-07-31 13:31:51 -05:00
Daniel Theodoro
1f8b0a7863
Add a new module to manage Yubikey devices (#785)
* Add a new module to manage a Yubikey device

* Set python 3.6+ as a requeriment

* remove the enable_shell parameter used by run_through_shell in the yubikey module
2020-07-23 22:27:50 +02:00
enkore
d6b9c95a4c
net_speed: fix whitespace issue 2020-07-16 23:56:03 +02:00
Erik Johnson
dad5eb0c5c
Update weather.com weather backend to reflect API changes (#783) 2020-06-12 10:31:28 -05:00
Erik Johnson
e0234c1223
Update Github module to pass access token in request header (#777)
* Update Github module to pass access token in request header

Also update the status colors to match the current Github Status webpage
CSS.

* Fix indentation
2020-04-12 10:50:08 -05:00
Mathis Felardos
25f43621ed
utils/gpu: fix nvidia-smi parsing for new nvidia-smi that uses (N/A) when unsupported (#776) 2020-04-02 19:28:21 +02:00
Giancarlo Razzolini
db14a88fc9
spotify: Fix the spotify module (#773)
The now_playing module does not use player_name anymore so the spotify module is broken.
Change it to use player so it works correctly.
2020-02-26 23:24:55 +01:00
David Wahlstrom
3ec743b94b
Add a new module to display charge status of a Tesla (#762)
Signed-off-by: David Wahlstrom <david.wahlstrom@gmail.com>
2020-02-13 14:37:53 +01:00
chestm007
5c56fe12ed
alert on design percentage if desired (#756)
* needs testing.

* formatting fix
2020-02-10 13:51:12 +01:00
Gareth Dunstone
0550d0ab37
Bluetooth Module (#761)
* Added very simple bluetooth device module.

* Added a little bit more functionality, like hiding of blocked and non-paired devices, the option to hide disconnected but paired devices.

Added colour change and connected_color option for connected devices.

* fixing my imperfect style

* more fixing of imprefect code style
2020-02-10 13:49:46 +01:00
Facetoe
2c7de0b88e Fix index error in temp module. (#766) 2020-02-10 17:43:25 +08:00
Facetoe
ad4ae456a5 Allow setting dynamic_color in cpu_usage_bar (#767) 2020-02-10 17:43:13 +08:00
Tassos Natsakis
607584f160 Allowing to set the duration format for the timewarrior module (#769) 2020-01-07 09:04:51 -06:00
Egor Zvorykin
5a8eaf4027 Fix py38 warning (#770) 2019-11-18 18:32:34 +11:00
Erik Johnson
cb69563c33
Add documentation on callbacks executing the run() func (#765)
Resolves #378.
2019-10-10 15:15:59 -05:00
Erik Johnson
3bd0845797
Fix spelling in module docs (#764) 2019-10-10 13:37:57 -05:00
Erik Johnson
82fc9fbe44
Fix typo in weather docs (#763) 2019-10-03 09:23:51 -05:00
tyjak
4bafdd6901 Added Yay backend for updates script (#758) 2019-07-24 09:15:28 +10:00
chestm007
af6d98cb8e
Custom vertical bar glyphs (#738)
* refactor make_vertical_bar

refactor to use make_glyph under the hood (de-duping code)

* Allow pulseaudio module to accept custom vertical bar arrays

also added config example
2019-07-17 05:22:54 +10:00
chestm007
2016addf81
add color support to coin module (#755)
* add color support to coin module

* remove whitespace
2019-07-17 05:15:23 +10:00
Mehdi ABAAKOUK
c2458e1857 pulseaudio: remove output when sink is gone (#750)
When `sink` is set and you have USB card or Bluetooth headset.

When the sink is created, the output is set and the module appear.

But when the sink is deleted, the output is not deleted, and the module
stay.

This change detects when the sink is deleted and delete the output.
2019-07-10 15:48:01 +10:00
chestm007
1408997181
we specify 3.4 as minimum python version, looks like travis removed 3.3 (#757) 2019-07-10 15:43:32 +10:00
Curtis Adkins
56ce08d0ff Changing location of json data to pull city name (#752) 2019-06-10 08:58:14 -05:00
Daniel Alves
991e32422f [github] fix using githubstatus API (#743)
* fixed status reading from githubstatus API

* Further changes to make GitHub module work with new Status API

* fix/github: changed to only display status description on notifications

* small fixes

* reverted a bad change
2019-05-23 09:13:16 -05:00
Erik Johnson
0d05a635ce
Weather.com: spoof user agent to allow web request (#745)
Weather.com's API is returning `403 Forbidden` for requests using
urllib's default user agent. This commit uses Firefox's user agent to
get around this limitation.
2019-05-23 09:11:18 -05:00
lasers
2cf37d86d7 alsa: set card with default -1 instead of hardcoded 0 (#725) 2019-05-18 13:14:33 +02:00
enkore
2dd665dd9e
mpd: use "replace" error handler for decoding UTF-8 from daemon 2019-05-13 11:53:38 +02:00
enkore
80a0583466
mpd: fix decoding error in currentsong leading to exception 2019-05-13 11:50:40 +02:00
Erik Johnson
071f0ce6fb
i3pystatus.scores.nhl: Another fix for series wins (#741) 2019-05-01 09:22:37 -05:00
Erik Johnson
6441081358
NHL: Fix playoff series wins (#740)
These would show as 0 when a series was won. It now properly shows 4.
2019-05-01 08:41:35 -05:00
Erik Johnson
68d1158c9b
i3pystatus.scores.mlb: Update module to use new statsapi (#739) 2019-05-01 06:43:31 -05:00
Max
14cfde967c ignore venv files 2019-04-23 20:30:56 +10:00
chestm007
6d6ee771cc
implement circleci module (#736)
* implement circleci module
2019-04-23 05:17:04 +10:00
lucible
8549850d6a added absolute value to handle negative CURRENT_NOW & test case (#730) 2019-04-23 00:51:52 +10:00
chestm007
b5a232c4a7
add color support to some modules missing it (#735)
* add color support to some modules missing it

Affects:

amdgpu
calendar
deluge
net_speed
plexstatus
2019-04-23 00:50:14 +10:00
chestm007
b9cb4af8ba
remove pycharm files (#734)
i derped and commited these 🤦
2019-04-23 00:47:25 +10:00
Erik Johnson
e75bb321ee
i3pystatus.scores.mlb: Update color for Miami Marlins (#733) 2019-04-15 13:45:27 -05:00
chestm007
d3317c0664
implement usage and fan speed monitoring (#728) 2019-04-12 22:12:14 +10:00