* the original implementation doesn't always generate click events.
This new implementation fixes this issue.
But as the old implementation is still in use (the bluetooth module makes use of it)
and this implementation is probably not as matured as the old one, it
was agreed to keep both the old and the new implementation until the
bluetooth module has been migrated to the new implementatation.
A decent fallback implementation would require some kind of differential
measurement to be able to calculate a rate of change.
For now, that is simply more complicated than warranted.
Thanks to @stoeps13 for pointing that out!
Do not throw exceptions during exception handling, that causes really
hard-to-interpret error messages.
Instead, log a message and throw outside the exception handler (the code
could do with some cleanup, but is localized enough for now).
see #367
If multiple locations are provided as comma-separated list, left-click
and right-click can be used to circulate through them.
NOTE: Every click produced a new request to the weather reporting
service!
see #360
OK, so I cannot configure Travis to install pygit2, obviously. Instead,
I'll make the "git" module run though even if pygit2 is not installed.
Hope that satisfies you, Travis!
This module uses xcwd to retrieve the directory of the currently focused
window and, if any of the parent directories is a git repository,
displays basic information about the repository.
Right now, only the current branch name is displayed.
If increasing would exceed the volume, set it to exactly the limit
instead. Also, if channels have different volumes, ensure that the
higher channel does not exceed the volume.
fixes#354
Add a new parameter "-a|--autohide" that allows you to specify a
list of module names (or aliases) that will be hidden from the bar
*unless* their state is either warning or critical.
Add a new parameter "limit" that, if set, specifies an upper limit for
the volume.
Note: This is only enforced at the time of *setting* the volume, so you
can still use other applications, such as pavucontrol, to exceed that
limit and bumblebee-status will simply *display* the new value, not
reset to the limit.
fixes#354
The module now flattens the JSON structure when it is received from the
API endpoint instead of every time the statusbar is updated. This should
make the module much more performant.
Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>