Commit Graph

1368 Commits

Author SHA1 Message Date
facetoe
23d2df4161 Merge pull request #408 from ncoop/weathercom
Weathercom exception caught
2016-07-10 14:06:13 +08:00
ncoop
322bcd5942 PEP8 compliance; remove unused IntervalModule. 2016-06-23 21:30:51 -07:00
ncoop
0570b51fa5 Catch AttributeError also. 2016-06-23 21:28:42 -07:00
enkore
806ebe9060 Merge pull request #366 from ncoop/iss364
Notification with update summary on_rightclick
2016-06-23 15:16:26 +02:00
facetoe
f3ffb96a17 Merge pull request #396 from asmikhailov/master
Fixed error with empty list
2016-06-23 20:20:16 +08:00
facetoe
4476059aac Merge pull request #405 from grubersjoe/xkblayout
xkblayout module - format and uppercase settings
2016-06-23 20:10:58 +08:00
ncoop
2505468515 Notification support for aptget. 2016-06-22 23:57:40 -07:00
ncoop
f03926ed71 Put yaourt docs into code blocks; 80 char width. 2016-06-22 22:44:34 -07:00
ncoop
9d907732f1 Update notifications for pacman, cower, yaourt.
These modules are also runnable directly from terminal.
2016-06-22 22:44:25 -07:00
Jonathan Gruber
42d8760462 Removed semicolon 2016-06-20 12:04:54 +02:00
Jonathan Gruber
1baaeb3ccc Added uppercase setting 2016-06-20 11:53:18 +02:00
Jonathan Gruber
f2adc64966 Added format string setting 2016-06-20 11:40:46 +02:00
facetoe
b4e21dfd9e Merge pull request #394 from facetoe/pulseaudio_change_sink
Support changing sinks on the fly.
2016-06-08 20:52:58 +08:00
facetoe
a96271de96 Merge pull request #395 from facetoe/google_calendar
Google calendar modifications
2016-06-07 17:25:06 +08:00
asmikhailov
07dd1bb159 Merged upstream master 2016-06-07 12:10:19 +03:00
facetoe
8140b3b73c Use sink name not index. 2016-06-07 16:24:04 +08:00
facetoe
3dcc2d7d8f Open calendar event on click. 2016-06-06 16:10:26 +08:00
facetoe
0215bdf5f1 Continue on 500/503 errors. 2016-06-06 15:53:54 +08:00
facetoe
bdfed7136a Support changing sinks on the fly.
On double click, move all sink inputs to the next available
sink and set as default.
2016-06-06 15:43:15 +08:00
ncoop
ae1274d5d3 Makes update count algo less wrong. 2016-06-04 21:30:24 -07:00
ncoop
b73dbb1a35 Return early if the check threw an error. 2016-06-04 20:53:12 -07:00
ncoop
5272e10208 Dump data by running as __main__. 2016-06-04 20:32:33 -07:00
ncoop
48273a8205 Unknown update list gives empty string. 2016-06-04 19:54:21 -07:00
ncoop
51675430b1 Notification icon is customizable, and can be None 2016-06-04 19:54:21 -07:00
ncoop
d7d372ff5d Added format_summary option
By default, same as format
2016-06-04 19:54:21 -07:00
ncoop
7fb0794f45 Now returns both the count and a notification body 2016-06-04 19:54:21 -07:00
ncoop
616c68b0f0 Notification displayed on rightclick by default
Notification summary shows the count
Notification icon is `software-update-available`
notif_body concatenates raw or prepared output from all backends

Backends that don't yet output to notif_body should have harmless empty string

Also, linted according to flake8
Corrected typo
2016-06-04 19:54:20 -07:00
enkore
c8c09763c1 Merge pull request #383 from drwahl/temp
temp: add a "display_if" setting
2016-06-04 20:29:58 +02:00
enkore
89424d103c Merge pull request #382 from drwahl/gpu_temp
gpu_temp: add "display_if" setting
2016-06-04 20:29:51 +02:00
facetoe
07cbb84406 Merge pull request #392 from colajam93/fix-typo
Fix typo
2016-06-04 00:52:26 +08:00
colajam93
ecb532a5ac Fix typo 2016-06-04 01:39:31 +09:00
Mehdi ABAAKOUK
2d7b3afaca Fix imap connection lost (#380)
Nothing in imap mail backend reinit the imap connection
when this one is lost, and then the backend always output "socket.error:..."

This change fixes that by cleanup the connection object when
connection is lost so get_connection() will recreate a new one.

This also remove the unless utils.internet() checks already done by
Mail().run()
2016-05-24 12:22:30 +02:00
eBrnd
cee2860138 add weekcal module (#388) 2016-05-24 12:21:06 +02:00
enkore
b686afe42e Merge pull request #391 from rumpelsepp/syncthing
Use CSFR Token in Syncthing module
2016-05-24 12:20:17 +02:00
Stefan Tatschner
f059184411 Use CSFR Token in Syncthing module
Fixes #390
2016-05-24 10:24:56 +02:00
enkore
6859eb5a10 Merge pull request #389 from enkore/fix-spotify-playerctl
spotify: pass player_name=spotify to playerctl
2016-05-22 23:44:44 +02:00
enkore
3ab7a58d03 spotify: pass player_name=spotify to playerctl 2016-05-22 22:18:29 +02:00
enkore
1a64158c8b Merge pull request #385 from terminalmage/scores
Make NHL team wins reflect series wins during playoffs
2016-05-17 17:40:47 +02:00
Erik Johnson
8f9c878689 Make NHL team wins reflect series wins during playoffs
The win/loss values from the NHL data feed reset in the playoffs, but
don't reflect the current series. Instead, they reflect the current
win/loss total since the beginning of the playoffs.

This commit checks for a key in the API return data indicating that the
game is a playoff game, and if the game is a playoff game the team's
wins will be set to the remainder of the total wins divided by 4 (a team
with 6 overall wins will be assumed to have 2 wins in the current
playoff series).

The team's losses during a playoff series will be set to the amount of
wins for the opposing team.
2016-05-17 09:49:29 -05:00
David Wahlstrom
b901cec5a6 temp: add a "display_if" setting
Adds a "display_if" setting to temp module.  This is a snippet that will
be evaulated, and if the result is true, it will display the module's
output.
2016-05-11 13:38:28 -07:00
David Wahlstrom
cc3781a6c0 gpu_temp: add "display_if" setting
Adds a "display_if" setting to the gpu_temp module that allows the
output to be squelched unless some snippet has been evaluated as true.
2016-05-11 13:26:38 -07:00
enkore
4611295475 Merge pull request #365 from ncoop/iss359
Stricter criteria for including query output
2016-05-03 09:47:17 +02:00
enkore
b5a4fd2ab0 Merge pull request #373 from terminalmage/scores
Add module to display sports scores
2016-05-03 09:46:01 +02:00
enkore
efcf7d0cde Merge pull request #377 from terminalmage/weather-tstorm
Catch another odd weather.com weather condition
2016-05-03 09:42:39 +02:00
Erik Johnson
da104268ab Catch another odd weather.com weather condition
This properly colorizes when there is a thunderstorm and the weather.com
API response defines the current weather condition as "T-Storm". No idea
why they decide to do this, it's definitely not for brevity as they have
a "Thunderstorms in the Vicinity" weather condition as well. Just a
weird quirk of their API, I guess.
2016-05-02 22:08:12 -05:00
enkore
682961f956 Merge pull request #367 from k1-hedayati/patch-1
Added interval option to online module
2016-04-26 11:04:58 +02:00
enkore
dcc3cfeffc Merge pull request #371 from ncoop/master
Module should be chmod a-x
2016-04-26 11:04:36 +02:00
enkore
ba0b6bc0f1 Merge pull request #372 from ncoop/mpd-KeyError-fix
MPD KeyError fix at end of playback
2016-04-26 11:03:52 +02:00
enkore
f120fb65e3 Merge pull request #362 from terminalmage/logging
RFC: Improved logging
2016-04-26 11:03:19 +02:00
Erik Johnson
633ea4628e Use playoff W/L numbers if in playoffs
Also add seed info
2016-04-25 22:42:17 -05:00