Commit Graph

1244 Commits

Author SHA1 Message Date
enkore
0b49c4058a Merge pull request #333 from terminalmage/fix-updates
Fix KeyError when using backend-specific updates formatter
2016-03-22 12:31:48 +01:00
enkore
843088c9f5 Merge pull request #332 from drwahl/master
last.fm: initial commit of last.fm module
2016-03-22 12:30:22 +01:00
enkore
c35eb5ee3b Merge pull request #338 from grimpy/fix_nowplaying
now_playing: use get_dbus_method for compatibility
2016-03-22 12:29:41 +01:00
enkore
1548f521bc Merge pull request #337 from hobarrera/solaar-error-improvements
Improve solaar error handling/display
2016-03-22 12:29:01 +01:00
Jo De Boeck
6a7e80ec38 now_playing: use get_dbus_method for compatibility
Calling method directly on dbus proxy object does not always work.
2016-03-22 12:13:29 +02:00
Hugo Osvaldo Barrera
9a091ab024 Improve solaar error handling/display
Improve errors shown by solaar plugin, also cleaning up how error are
internally handled.

See #335
2016-03-21 19:51:44 -03:00
David Wahlstrom
e529fa8c95 dota2wins: truncate win percentage
Use only 2 decimals for win percentage so we don't fill all of the
status bar with decimal places.
2016-03-18 09:03:19 -07:00
David Wahlstrom
e27c0421b7 test_lastfm: pep8 compliance 2016-03-17 19:59:02 -07:00
Erik Johnson
2a886ffa1e Fix KeyError when using backend-specific updates formatter
When a backend-specific formatter (i.e. ``{Pacman}``, ``{Cower}``, etc.)
is used, and the initial "working" status is set, the loop in which the
update totals is compiled has not yet run, leading to a KeyError.

This commit fixes the traceback by setting initial values of "?" for
these formatters before the initial "working" status is set.
2016-03-16 21:47:14 -05:00
David Wahlstrom
7163122e1b last.fm: initial commit of last.fm module
This last.fm module will report to the status bar the current track that
is being played.  Last.fm requires an API key for access to their APIs,
so the user must provide their own API key which can be easily obtained
for free from http://www.last.fm/api/.
2016-03-16 16:27:02 -07:00
enkore
c287204321 Merge pull request #329 from drwahl/master
plexstatus: add unittests
2016-03-15 23:08:34 +01:00
enkore
4e3337fa4a Merge pull request #330 from terminalmage/color_icons
weather.py: Add settings entry for color_icons
2016-03-13 10:27:13 +01:00
Erik Johnson
ff31e08b74 Add settings entry for color_icons
This allows this item to be overridden in i3pystatus with custom colors
and icons.
2016-03-12 22:49:30 -06:00
David Wahlstrom
afb726e37d pep8 compliance 2016-03-11 07:30:59 -08:00
David Wahlstrom
86c7346476 remove tabs 2016-03-10 12:15:27 -08:00
David Wahlstrom
7c6114df21 plexstatus: pull xml inline
To remove external/filesystem deps, move the stream info xml inline.
2016-03-10 11:39:21 -08:00
David Wahlstrom
ad67762b43 plexstatus: add unittests
Add unittest for the plexstatus module.  Currently verifies that if
there is no stream, the output is null, and if there is a stream, it is
properly getting parsed out of the xml.
2016-03-10 10:51:19 -08:00
enkore
522d691663 Merge pull request #327 from r3dey3/fix-pulseaudio
Fix pulseaudio
2016-03-03 07:08:00 +01:00
Kenny Keslar
693d2ebdb7 Catch exceptions in button handlers 2016-03-02 15:57:57 -05:00
Kenny Keslar
7d90574212 Pulseaudio - use execute helper & fix program check 2016-03-02 15:40:16 -05:00
enkore
3800db2175 Merge pull request #326 from lenerd/master
Add mpd password support
2016-02-26 16:25:16 +01:00
Lennart Braun
f2b4447126 Fix explicit utf-8 encoding 2016-02-26 16:18:12 +01:00
Lennart Braun
530b9f2d88 Add mpd password support 2016-02-26 15:34:38 +01:00
enkore
438557eaed Merge pull request #325 from facetoe/master
Fix uneven quotes in status command.
2016-02-20 18:06:52 +01:00
facetoe
357aaa76a1 Fix uneven quotes in status command. 2016-02-20 22:51:27 +08:00
enkore
754a5d4d83 Merge pull request #323 from facetoe/google_calendar_fix
Fix dateTime bug identified in #322
2016-02-18 13:59:33 +01:00
facetoe
ee79a691b2 Fix dateTime bug identified in #322
Also fixed bug where an event with no title would cause a crash.
2016-02-18 20:29:07 +08:00
enkore
7117df6fb2 Display exception class name (in-line exception display)
cf #322
2016-02-16 13:40:30 +01:00
enkore
9e6528032b Merge pull request #320 from facetoe/docs
Update PlaintextKeyring example with new import location.
2016-02-15 11:59:49 +01:00
facetoe
ee5a706107 Document that the keyring example requires the keyrings.alt package. 2016-02-14 22:07:40 +08:00
enkore
bf2e992fc9 Merge pull request #317 from facetoe/google_calendar
Add GoogleCalendar module
2016-02-14 14:56:33 +01:00
facetoe
4abff4bc0a Place mock modules in correct location 2016-02-14 19:48:38 +08:00
enkore
cb4ac39345 Merge pull request #321 from facetoe/setting_util
Fix bugs in setting_util.py.
2016-02-14 11:13:46 +01:00
facetoe
577e3df17f Fix bugs in setting_util.py.
An exception was thrown while loading classes and the -l paramater
wasn't working correctly.
2016-02-14 14:49:55 +08:00
facetoe
3addb4b229 Update PlaintextKeyring example with new import location. 2016-02-14 12:15:22 +08:00
enkore
f228d5347c 3.34 2016-02-14 01:18:39 +01:00
enkore
32296aad6b Merge pull request #319 from t3zla/master
Made the openvpn module more flexible by allowing custom status commands, along with changing the spelling of "colour"
2016-02-12 14:14:34 +01:00
enkore
58ca67109c Change default mode to standalone=True 2016-02-12 14:12:43 +01:00
Holden Salomon
8254eaf43e Made the openvpn module more flexible by allowing custom status commands, making it compatible with networkmanager based VPNs. Also changed the spelling of colour_down and colour_up to color so the module is the same as all of the others 2016-02-11 12:00:49 -05:00
enkore
8e3857ccd0 Add import to mail backend example 2016-02-10 19:09:30 +01:00
enkore
6b4974d995 docs: fix wrong package name of submodules
This showed up with the backends of mail and updates, where the
docs claimed that e.g. the Thunderbird backend class was actually
located in i3pystatus.thunderbird (correct: i3pystatus.mail.thunderbird)
2016-02-10 19:06:26 +01:00
enkore
13a291ce35 Merge pull request #318 from facetoe/docs
Add mail backend configuration example for #303.
2016-02-10 18:39:32 +01:00
facetoe
e0a3140f99 Add mail backend configuration example for #303. 2016-02-10 22:30:27 +08:00
facetoe
60f6d200a8 Add python-dateutil to dev-requirements.txt 2016-02-10 22:19:11 +08:00
facetoe
c21a98cde0 Add google-api-python-client to prevent build failing. Not sure if
correct solution...
2016-02-10 22:14:51 +08:00
facetoe
67142bc6fe Add GoogleCalendar module 2016-02-10 22:06:29 +08:00
enkore
b99d74d6f6 Merge pull request #316 from juliushaertl/unify-openvpn-settings
openvpn: Rename colour_up/colour_down to color_up/color_down
2016-02-10 10:57:23 +01:00
Julius Haertl
99ca98eaea openvpn: Rename colour_up/colour_down to color_up/color_down 2016-02-10 10:03:47 +01:00
enkore
e2a0097316 Decrease chattiness of ci-build.sh; error reporting is not reduced
(but error visibility increased, because there is less output overall)
2016-02-08 10:10:28 +01:00
enkore
a83a53dec0 Merge branch 'dota2winsdefaultetc' 2016-02-03 18:43:47 +01:00