* 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
* 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
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.
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.
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.
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.
* 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.
* 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
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.
* 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
* 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