Commit Graph

1873 Commits

Author SHA1 Message Date
Erik Johnson
25fba049d0
Add configurable interval to scores module (#727) 2019-03-26 08:58:46 -05:00
Erik Johnson
780cf54cf7
Fix internet check when port 53 is firewalled (#726)
Resolves #718
2019-03-26 08:56:18 -05:00
lasers
bfcb74a1e0 core/init: don't set default_hints with anything (#719) 2019-03-24 17:38:48 +11:00
lasers
3233c4cb86 mem: print zero used_mem instead of negative used_mem (#722) 2019-03-24 17:38:22 +11:00
lasers
4b6a6a68c9 mpd: use empty dict on stopped playback state (#721) 2019-03-24 17:36:31 +11:00
lasers
5d66539359 solaar: fix module, update docs (#720) 2019-03-24 17:36:08 +11:00
Gabriel Pettier
8638ca0b1f allow to use vertical bar in battery (#660)
* allow to use vertical bar in battery

* add import statement lost in merge

* convert to integer before using as index
2019-03-15 00:45:13 +11:00
Max
36497db2f4 add required setting 2019-03-15 00:07:08 +11:00
chestm007
d12a7d1e12
space api module (#569) 2019-03-14 23:46:29 +11:00
chestm007
8783aae817
add ability to reverse network graph direction (#715)
* add ability to reverse network graph direction
2019-03-14 23:42:18 +11:00
chestm007
3e219fc64b
this isn't the cleanest solution, but its potentially the least breaky (#717)
* this isn't the cleanest solution, but its potentially the least breaky
2019-03-14 23:41:55 +11:00
chestm007
2437439d1d
changes to pomodoro (#714)
make sound optional
allow setting colors
allow setting inactive output
2019-02-18 22:36:20 +11:00
chestm007
9dc69b980f
implement a basic pagerduty module (#712)
* implement a basic pagerduty module
2019-02-18 08:59:19 +11:00
Duncan Elliot
bcd8f12b18 Add default_hints parameter to Status object (#710)
* Add default_hints paramter to Status object

This change adds a new parameter ("default_hints") to the Status object.
If specified, these hints will be applied to all subsequently added
modules (avoiding having to specify the same hint multiple times).

A default hint can be overridden at the module level (i.e. the hints
specified at the module level take precedence).
2019-02-13 13:01:56 +11:00
chestm007
68dbf4434b
yeah... (#709) 2019-02-05 16:49:38 +11:00
Vladimir Matveev
feb2a68172 Added TLP module (#707) 2019-02-05 16:33:23 +11:00
chestm007
1c972b802d
update docs (#698) 2019-01-08 01:49:40 +11:00
chestm007
cf5b4576a8
update docs (#699) 2019-01-08 01:45:13 +11:00
chestm007
75409ce9ad
add background to hints section in docs (#697) 2019-01-08 01:43:52 +11:00
chestm007
c275c31a50
support multiple streams (#703)
* support multiple streams
2018-12-29 21:26:49 +11:00
chestm007
ca4ced20c7
xkblayout color (#702) [Originally by Ghost] 2018-12-29 13:47:27 +11:00
chestm007
78aa40c98c
Deluge handle network down (#701)
* return something useful if network is offline

* handle cases where connection is lost after being created
2018-12-28 13:37:45 +11:00
chestm007
a4ecdd6566 fix #647 weather doesnt run forever if offline on start (#700)
* always run init()

added online/offline_interval to settings of base weather class and accompanying logic

* remove `require(internet)` from `init` methods of both weather modules

* ...
2018-12-25 09:56:33 -06:00
Max
4d237620d9 yep. 2018-12-24 16:39:12 +11:00
euri10
1cd971f582 Added unicode icons to moon crescents (#649) 2018-12-24 15:08:04 +11:00
chestm007
6a4e941082
better handling of optional dependency (#696) 2018-12-22 14:19:25 +11:00
Josip Janzic
b31b5e4f49 Add humanize_remaining formatter (#671)
* Add humanize_remaining formatter

Allows for formating the time remaning to next event in _human readable
format_. Work only if `humanize` module is available.
2018-12-21 13:28:38 +11:00
Erik Johnson
9e3b45812c Update default value for github status URL (#691)
status.github.com has been deprecated, this updates the default URL
2018-12-21 13:20:44 +11:00
chestm007
01ca308eaf
Fix network module. (#694)
* default rounding should be 0.

* we also should only be calculating bytes_recv, bytes_sent if we are displaying network traffic
2018-12-21 13:16:23 +11:00
chestm007
f461b1b953
Fix googlecalendar's misleading first run semantics (#689)
* ...

* docs

* ...

* pep8.... everytime

* i broke docs

* derp
2018-12-21 03:31:19 +11:00
chestm007
d30773b92d
autoscaling network usage units (#684)
* bytes_info_dict

* network auto unit selection

* network
2018-12-21 03:25:54 +11:00
chestm007
a333effc88
Deluge (#685)
deluge module
2018-12-21 03:23:16 +11:00
chestm007
d9c5d92bdc
allow adjusting volume, centralization of some code (#688) 2018-12-21 03:14:15 +11:00
chestm007
91a0b5d05d
basic amdgpu monitoring (#686)
* basic amdgpu monitoring
2018-12-21 03:09:22 +11:00
chestm007
2ead8fd2f3
require internet, if backend returns falsey assume it was 0 (#687)
require internet, if backend returns falsey assume it was 0
2018-12-21 01:59:48 +11:00
chestm007
f909d7edfc
use raw string (#682)
Cpu usage color (just an updated #376 to fix failed test due to regex)
2018-12-21 01:32:29 +11:00
Björn Guth
c9c83bfce4 added dynamic color support for cpu_usage (#376)
* added dynamic color support for cpu_usage

* some minor fixes to pass build tests

* added new PyPI requirement to documentation

* removed explicit setting self.color in CpuUsage

as a response to @facetoe removed explicitly setting self.color and instead
set the class wide variable color to #FFFFFF to not have the output been shown
in black.
2018-12-21 01:26:35 +11:00
chestm007
42d9955a9b stop iinet from filling the bar with a connection error if internet is down (#679)
* only run if we have internet

* decorators are so clean
2018-12-08 15:39:11 +00:00
chestm007
ece908d9ae Travisci (#677) 2018-12-08 15:38:00 +00:00
Егор
90460d94ce Abridge levels description, add example instead (#683)
fixes issue #681
2018-12-08 15:36:46 +00:00
enkore
8120d807eb
The golem is dead 2018-12-03 12:42:54 +01:00
Егор
fde7b6bb78 Added levels settings to the battery module (#654)
* Added levels settings to the battery module

Specify text for custom levels of the battery charge

* Round up charge the same way it is displayed

percentage value used to determine text from levels setting should be
round up the same way as when it is displayed on the screen
2018-12-03 11:41:02 +00:00
1m0d
7e8da7686c add option to round coin price to set decimal point (#658)
* add option to round coin price to set decimal point

* import decimal
2018-12-03 11:38:41 +00:00
Raphael Scholer
82f9548a2c Support auracle as an update backend (#669) 2018-12-03 11:38:14 +00:00
tigerjack
55f8812bc9 temp.py: Fixed bug related to dynamic colors (#672)
When a custom alert_temp was given, for any temperature value above alert_temp
the module generated an "IndexError: string index out of range" error.
2018-12-03 11:35:31 +00:00
Josip Janzic
625d6a0b9d Add options to skip certain events (#673) 2018-12-03 11:35:06 +00:00
Duncan Elliot
e42efd8be7 Glyph based representation of numeric values (#674)
* Add make_glyph function to core utils

A new function (in line with similar functions such as make_bar),
make_glyph allows generating a glyph based representation of a numeric
value.

An example use case would be to use a set of battery level glyphs from
FontAwesome to represent battery charge percentage.

* Update battery module to use make_glyph function

Minor update to battery module to allow use of make_glyph function.
Default glyphs do not provide anything fancy, but allow a hook point for
using more interesting glyphs from fonts with battery icons.
2018-12-03 11:34:45 +00:00
Егор
7999358986 Add album_artist field to mpd format (#675)
Issue #646
2018-12-03 11:33:46 +00:00
chestm007
261667e5e8 fix typo, fix issue #622 (#680) 2018-12-03 11:30:40 +00:00
Jörg Thalheim
a586a50cd8 i3pystatus.network: prefer non link-locale v4 addresses (#656)
Addresses in 169.254.0.0/16 are auto-assigned as of RFC 3927.
These can be negotiated via the zeroconf protocol (avahi-autoip or systemd-networkd).
Usually those addresses are not so interesting and the addresses given by dhcp should be shown instead.
2018-08-25 16:36:03 +00:00