Commit Graph

1873 Commits

Author SHA1 Message Date
Erik Johnson
bfdff2edbf
Fix weather.com weather provider after upstream change (#665)
The format for the JSON data we scrape from the webpage has changed,
this updates the module to handle the new format.
2018-08-21 10:22:32 -05:00
Erik Månsson
f6e3b40b24 Add Sonos module (#655) 2018-08-13 17:04:53 +00:00
Егор
0d7156b5b1 WIP: Fix pycodestyle errors (#653)
* Fix pycodestyle errors

W503 is condracting PEP-8 and was added to the default ignore list by
pycodestyle developers

* Use setup.cfg for pycodestyle ignore parameters

Addresses #651 (kind of). Appending ignores to the default list prevents
us from getting warnings that we don't care about.

* W503 is not in the default ignore list in 2.4.0
2018-08-06 13:29:19 +00:00
enkore
0dad095c07
Python 3.7 compatibility fix (format_string is now positional only) 2018-08-06 15:27:25 +02:00
chestm007
35537e95eb fix vdsl2 usage, also add "used" formatter (#659)
* fix vdsl2 usage, also add "used" formatter

* PEP fix
2018-08-01 10:17:28 +10:00
Mario Baranzini
a252beb1db Change DesktopNotification arguments (#657)
Change `DesktopNotification` arguments to named arguments because `DesktopNotification` constructor uses `**kwarg` and requires named arguments.
2018-07-17 08:58:03 -05:00
Raphael Scholer
0f4480e991 updates.Pacman depends on pacman-contrib since pacman 5.1.0 (#650) 2018-05-31 11:36:25 +02:00
Егор
3efbd56bb7 Add a color map for mpd states (#640) 2018-03-31 14:35:15 +02:00
Stefan Devai
c37dd115e5 Module for generating a random password (#637)
Module for generating a random password and copying it to the clipboard with a double left click. It uses xsel or xclip.
2018-03-24 11:58:45 +01:00
forscher21
56c6e04f84 Add mail backend for Exchange account (#636)
* Add mail backend for Exchange account

* Rename backend class, clean code
2018-03-01 15:45:57 +11:00
Gareth Dunstone
d053216ea8 gpu_usage module (#635)
* created gpu_usage module

* naming and docstrings
2018-02-27 19:12:02 +11:00
enkore
3eb12a361f
Update changelog.rst 2018-01-11 11:37:37 +01:00
enkore
73762bf21e
Update README.rst 2018-01-11 11:37:06 +01:00
enkore
396e2fec7d
Update README.rst 2018-01-11 11:35:28 +01:00
Sven Gebauer
20fa8fbeb5 network: Fix missing wifi info when using format_active_up (#630) 2017-12-20 20:44:24 +11:00
Facetoe
48e5074412
temp.py: Raise an Exception if no sensors detected. (#627)
Provides a better error message for cases such as #626.
2017-11-22 19:21:48 +08:00
Johannes Löthberg
8682fa232a temp: Honor color setting when pango is enabled and dynamic color is False (#625)
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-11-21 08:09:50 +08:00
Johannes Löthberg
9818e8d750 temp: Ignore pysensors exceptions on unavailable subfeature (#624)
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-11-20 15:08:21 +08:00
1m0d
17ffa35435 Feature/coin (#623)
* add coin.py

* add example settings

* refactor whitespaces for merge requirements

* update class docstring
2017-11-20 07:52:45 +08:00
Enrique A
e99882fea5 New source of cpu information (#617)
* Added new source of cpu information

Starting with kernel 4.13 /proc/cpuinfo only show the basic clock of the
processor not the current frequency. Change adds information from
/sys/devices/system/cpu , considering online and offline cpu's.

* PEP8 fixes

* Fix cpus_online_range
2017-11-06 11:01:23 +08:00
Erik Johnson
86343d04ca Wunderground: retry getting nearest station ID if not set (#619) 2017-11-06 10:13:16 +08:00
Facetoe
86e05c0f9e
network.py: Update default format. (#616) 2017-10-29 11:02:16 +08:00
Juri Schröder
2058046efa Separate network graphs for sent and received data. (#615)
* Add: Recv and sent graphs for network module

* removed whitespace

* Removed {kbs} formatter
2017-10-17 08:09:26 +08:00
Cyril Gaudin
07c40bc715 Sensu monitoring module (#612)
This module connects to the API of a Sensu monitoring service
and displays current status based on Sensu events.

There is a formatter to display most recent event message too.
2017-10-13 19:30:07 +08:00
Erik Johnson
f451d922c2 Add new Vegas franchise to NHL team colorization (#614) 2017-10-11 11:29:18 -05:00
Facetoe
3dd5065c89 Add toggle to enable keep_alive feature. (#610)
Not all users execute i3pystatus directly, and this can cause issues
when i3bar sends the SIGUSR2 signal. This commit places the keep_alive
feature behind a flag in the Status module to be selectivly enabled by
those that want to use it.

Solves #609.
2017-09-24 14:36:57 +08:00
Facetoe
27519031fe Apply patch for battery notification spam. (#607)
Raised in #578.
2017-09-20 00:37:22 +08:00
Facetoe
455053d721 Calendar docs (#605)
* Properly document calendar module.

Raised in #604.

* Don't require config_path or calendar.

Raised in #604.
2017-09-08 15:50:40 +08:00
Facetoe
c044d1ff67 Add module "keep_alive" feature. (#601)
By default, i3bar sends SIGSTOP to all children when it is not visible (for example, the screen
sleeps or you enter full screen mode), stopping the i3pystatus process and all threads within it.
For some modules, this is not desirable. This commit makes it possible for modules to define the
"keep_alive" flag to indicate that they would like to continue executing regardless of the state of
i3bar.
2017-08-10 10:41:48 +08:00
Fedor
13a1caccd2 Module for fetching and displays exchange rates with EXMO (#600)
* Module for fetching and displays exchange rates with EXMO

* Fix bug with default value for pair settings

* Handle error with fetching data
2017-08-09 18:46:25 +08:00
Facetoe
2314277b94 Add generic calendar module. (#598) 2017-08-02 00:35:01 +08:00
Facetoe
fc2ae2a387 Fix regression introduced in #595. (#597)
Whenever the connecting to the remote server fails, query DNS and cache the result. This
should reduce the number of DNS requests the internet predicate
generates without changing the behaviour.
2017-07-28 19:06:22 +08:00
Facetoe
351738f33d Reduce overhead of internet predicate. (#595)
* Reduce overhead of internet predicate.

* Use 8.8.8.8 instead of google-public-dns-a.google.com save a DNS lookup.

* Use time.perf_counter instead of time.time().

Allow user to configure check frequency.
2017-07-19 13:52:27 +08:00
Armin F. Gnosa
63485566f1 migrate simple BTC rate queries to bitcoinaverage.com v2 API (#587) 2017-06-27 18:19:19 +02:00
Paul Friedrich
1874f3dda8 added a module to monitor the current status of SABnzbd (#589)
* added a module to monitor the current status of SABnzbd

* added the ability to open SABnzbd inside a browser by rightclicking

* added some error handling

* minor cleanup
2017-06-27 18:18:51 +02:00
Matti Niemenmaa
c6f9202380 core/desktop: don't crash if gi exists but is empty (#314)
Many packages install something into gi/overrides. If the gobject
package itself is not installed, the import of gi succeeds but
require_version is not contained within, resulting in an AttributeError.
2017-06-26 17:36:19 +02:00
Facetoe
1db757a2e2 Fix bug that prevented module errors being displayed in bar (#586)
* Fix bug that prevented errors being shown in bar.

* Add tests to ensure errors are visible in the bar.
2017-06-16 14:34:24 +07:00
Facetoe
4ec39cacb0 Prevent battery module spamming notifications. (#581)
* Prevent battery module spamming notifications.

Raised in #578.

* Fix pep8 issues.
2017-06-15 08:48:52 +07:00
Facetoe
4c0bba59ab weathercom.py: Honour units parameter. (#582)
Potential fix for #577
2017-06-15 08:48:08 +07:00
enkore
c5757fc7c2 Create README.rst 2017-06-12 17:44:00 +02:00
enkore
8e166fdd40 Update README.rst 2017-06-12 17:42:06 +02:00
enkore
d2436728ed Create README.rst 2017-06-12 17:41:37 +02:00
enkore
e5bd198c5e Create README.rst 2017-06-12 17:40:21 +02:00
enkore
cc189b4cc2 Create README.rst 2017-06-12 17:39:16 +02:00
enkore
fb70896545 Create README.rst 2017-06-12 17:36:58 +02:00
enkore
b04f9b7332 Create README.rst 2017-06-12 17:36:41 +02:00
enkore
5e59081f97 docs: highlight module name to use with register 2017-05-21 20:35:06 +02:00
pajowu
2ff5ea0262 Calculate battery percentage from energy instead of average of batteries (#563)
* Calculate battery percentage from energy instead of average of batteries

Average only works if all batteries have the same max energy level. If setups with different sizes the smaller ones influence the percentage overproportianly strong

* check for battery type before calculating percentage, use old way if needed

* translate charge into energy to always calculate correct percentage
2017-05-03 14:36:35 +07:00
Jo De Boeck
a62282f0f2 Add group module which allows cycling trough other modules (#568)
Highly inspired by: https://py3status.readthedocs.io/en/3.5/modules.html#group

Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com>
2017-05-01 10:23:18 +07:00
Erfan
0ddaa6f984 Update openvpn (#567)
* Update openvpn

openvpn 2.4 has changed their services API so the clients are called openvpn-client now

* auto select service name based on openvpn version

default is the old service names, and if version is 2.4, switched to the new service names

* oops remove whitespace

* Add a config to use new openvpn service names

* remove extra comment

* change the variable name

* oops 😅 forgot to change the option name in settings

* update option description
2017-04-27 15:27:48 +07:00