Some laptops, such as Dells, may display an unknown charge state when
the battery is attached to a docking station, but discharging (because
of configuration settings for longevity of the battery).
Show that nicer.
Require user to explicitly enable overwriting of i3 config files before
starting to automatically assemble the i3 config from a template and a
set of display-related config files.
fixes#322
sensors -j give JSON output, which is much easier to parse than
raw output.
Use this, together with the "path" parameter, to allow robust reading of
sensor values.
fixes#308
If the theme name provided by the user is a file, load the theme from
there.
Note: This change automatically enables a theme to load iconsets from a
file name, instead of using a iconset name.
fixes#319
Regular i3bar events *can* contain the character [, so a better
mechanism for detecting the initial opening [ is required. For now, do a
minimal change that requires the line to *start* with [. This should
never be the case for i3bar events, which are always JSON objects.
fixes#318
This was causing an ocassional crash in bumblebee/engine.py threshold_state
when checkupdates fails, perhaps due to wifi not being up yet.
For me this showed up regularly on login.
The statusbar was freezing for several minutes if it could not reach
the API endpoint. This is because of a missing timeout statement in
the call to python.requests's get function.
- Added spaceapi.timeout parameter
- Added timeout to requests
Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
SpaceAPI is a API for hackerspaces. Hackerspaces announce their state
and location using a predefined json framework. Users can use this data
to make sure the space is opened before they decide to go there.
The module was created because the author felt the need to know if his
hometown's space was open or not.
Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
Displays the result of a notmuch count query
default : unread emails wich path do not contained "Trash" (notmuch count "tag:unread AND NOT path:/.*Trash.*/")
Parameters:
notmuch_count.query: notmuch count query to show result
Errors:
if the notmuch query failed, the shown value is -1
Dependencies:
notmuch (https://notmuchmail.org/)