Sergei Turukin
4f7d5673c0
Refactor pomodoro
module
...
Replace `subprocess` call with built-in module for sending
desktop notifications.
2016-11-06 13:21:39 +03:00
hcpl
c2c54df054
Xkblayout: document PyPI dependency
2016-11-03 23:09:23 +02:00
hcpl
8f7a35ae92
Xkblayout: refine formatting and switching layouts
...
Introduces PyPI package xkbgroup as a dependency.
Changes include:
* Add more formatters
- Backwards-incompatible: ``{name}`` now refers to the layout group
name, such as 'English (US)' or 'German'.
- To show the old ``{name}`` use ``{symbols::,}`` (this is the
advanced formatting syntax employed by xkbgroup package)
+ For details on formatting see
https://github.com/hcpl/xkbgroup/blob/master/docs/formatting.rst .
* Now Xkblayout can switch groups and you can toggle groups with
keyboard at the same time.
2016-11-03 21:32:48 +02:00
Facetoe
328eb92864
Catch all exceptions.
2016-11-03 21:54:02 +08:00
Facetoe
458e05cae8
Catch exceptions thrown in init().
...
Possible solution for #490
2016-11-01 20:01:27 +08:00
enkore
1d1491c6a3
Merge pull request #487 from teto/pycodestyle
...
Replaced pep8 with pycodestyle
2016-10-29 20:28:05 +02:00
Matthieu Coudron
cc431aba07
Replaced pep8 with pycodestyle
...
pycodestyle is the new name of the module pep8
2016-10-29 18:33:45 +02:00
hcpl
1281d0e298
Backlight: add tests
2016-10-29 18:41:05 +03:00
enkore
8dec9a590c
Merge pull request #486 from hcpl/mem_issue485
...
Mem: fix displaying negative values (#485 )
2016-10-28 19:21:29 +02:00
hcpl
8adc73ec53
Mem: conform to PEP 8
2016-10-28 18:50:19 +03:00
hcpl
d28cc6369c
Mem: fix displaying negative values ( #485 )
...
Accomodating to changes made in `psutil` version 4.4.0 in calculating
`virtual_memory().used`.
2016-10-28 18:42:40 +03:00
hcpl
c7bbae9278
Backlight: add missing self object qualifier
2016-10-26 07:20:50 +03:00
hcpl
9c870d72b0
Backlight: terminate init() after monkey patching
2016-10-26 04:19:25 +03:00
hcpl
285ba71ba0
Backlight: fix crash in #442
2016-10-26 04:06:05 +03:00
enkore
115bd4d34f
Merge pull request #481 from m45t3r/glob_in_backlight
...
Glob expansion in backlight
2016-10-23 23:28:00 +02:00
Thiago Kenji Okada
7a081f4dd3
Glob expansion in backlight
...
Using default settings ("*"), this will match any device found in
backlight. Fix #442 .
2016-10-23 18:19:37 -02:00
enkore
bbbaded77e
Merge pull request #475 from m45t3r/next_if_down
...
network: add next_if_down option
2016-10-23 22:14:21 +02:00
enkore
884e85aab4
Merge pull request #480 from m45t3r/redshift
...
Added new module Redshift
2016-10-23 20:43:17 +02:00
enkore
1041f5d0c8
Merge pull request #476 from m45t3r/playerctl
...
Spotify module refactoring
2016-10-23 20:32:33 +02:00
Thiago Kenji Okada
c76be588c2
Speed up user feedback
2016-10-23 16:20:35 -02:00
Thiago Kenji Okada
9aa3368a5c
Added new redshift module
2016-10-23 16:03:55 -02:00
enkore
021b8ab7f2
Merge pull request #479 from hcpl/swap
...
Add module for swap usage tracking
2016-10-22 12:16:20 +02:00
hcpl
10e13b90d7
Change hide_if_empty default to False
...
Apply the principle of least surprise
2016-10-22 12:44:36 +03:00
hcpl
afa4e610ab
Add module for swap usage tracking
2016-10-22 06:36:27 +03:00
Thiago Kenji Okada
dd1243a063
Rename Spotify module to Playerctl
...
Provides a Spotify module, that is simply a wrapper of Playerctl module,
for compatibility purposes.
2016-10-20 10:50:30 -02:00
enkore
d31bfda69b
Merge pull request #461 from sileht/master
...
pulseaudio: allow to configure the sink
2016-10-20 10:03:41 +02:00
Mehdi Abaakouk
d1e8f6f1b7
pulseaudio: allow to configure the sink
...
When we have multiple sinks, this change allows to have all/some of them
available in i3pystatus and to identify which one is currently the
default. Also it allows to configure if we want that the hook
change_sink move all inputs to the new sink or not.
2016-10-20 09:52:40 +02:00
enkore
962f376f43
Merge pull request #473 from dopykuh/master
...
Provide ability to serve filter and specify min_severity.
2016-10-20 08:18:11 +02:00
Erik Johnson
0ce0ed812b
Merge pull request #455 from terminalmage/github-status
...
Add a GitHub Status module
2016-10-19 21:42:23 -05:00
Erik Johnson
4c5466d2d6
Remove desktop notification when update fails
...
We're already logging this and populating the "update_error" formatter,
so this is redundant.
2016-10-19 21:38:56 -05:00
Thiago Kenji Okada
aab7f35c7d
Use TimeWrapper to format length, additional clean-ups
2016-10-19 22:06:01 -02:00
Thiago Kenji Okada
42b09c8834
Make format_not_running works again
2016-10-19 16:15:50 -02:00
Thiago Kenji Okada
962578cf61
Forget to get format from dict
2016-10-19 14:51:33 -02:00
Thiago Kenji Okada
f4479b7c77
Refactored method get_info()
2016-10-19 14:47:38 -02:00
Thiago Kenji Okada
70b56624c2
Improve documentation
2016-10-19 13:58:04 -02:00
Thiago Kenji Okada
217b60a3c8
Convert strings to lower case or it does not work
2016-10-19 13:45:23 -02:00
Thiago Kenji Okada
cf8415d228
Added 'stopped' to status
...
And make sure that the status exist so we don't show an error to the
user.
2016-10-19 13:34:57 -02:00
Thiago Kenji Okada
bdd23126d8
Fix tests
2016-10-19 13:13:03 -02:00
Thiago Kenji Okada
76cdd5487f
Modify Spotify module to support any player
2016-10-19 10:17:52 -02:00
Thiago Kenji Okada
8b95c429d4
Refactor Spotify module
...
Simplify logic and increase code robutness by using specific instead of
generic Exceptions.
2016-10-19 10:17:52 -02:00
Tim Foerster
6953df5aa8
Don't let the linter crying
2016-10-18 12:14:54 +02:00
Tim Foerster
584f34ed48
Provide ability to serve filter and specify min_severity.
2016-10-18 12:07:57 +02:00
enkore
2fec760d3d
Merge pull request #463 from JindrichPilar/timewarrior
...
Timewarrior module
2016-10-18 12:01:13 +02:00
Jindrich Pilar
4c9e84968d
Dependencies dateutil.parser and dateutil.relativedelta added to docs/config.py
2016-10-18 09:29:05 +02:00
Thiago Kenji Okada
581f9875b7
network: add next_if_down option
...
This option switch to the next interface (using cycle_interface() method)
if the current one is down.
2016-10-18 00:10:58 -02:00
enkore
10416e8ed0
Merge pull request #471 from hobarrera/online-dont-fail-when-offline
...
online module: Don't fail when offline
2016-10-18 01:18:32 +02:00
Hugo Osvaldo Barrera
aeec2e86f3
online module: Don't fail when offline
...
If the system is offline, socket.gaierror is raised, the module crashes,
and shows `offline` indefinitely.
Catch that exception, and return False.
2016-10-17 20:05:05 -03:00
enkore
8fb6b0843a
Merge pull request #464 from JindrichPilar/taskwarrior
...
Taskwarrior re-raise and log error
2016-10-17 18:36:06 +02:00
enkore
6ac571e402
Merge pull request #466 from rscholer/moc
...
Add module for MOC (music on console)
2016-10-17 18:35:49 +02:00
enkore
575a60843f
Merge pull request #470 from dopykuh/master
...
Provide ability to filter by groups.
2016-10-17 18:35:32 +02:00