Commit graph

2113 commits

Author SHA1 Message Date
tobi-wan-kenobi
1c5a785003 [doc] add code-block type 2020-05-05 20:43:10 +02:00
tobi-wan-kenobi
d2f796baa9 [util/store] add docstrings 2020-05-05 20:37:00 +02:00
tobi-wan-kenobi
5da0819610 [doc] Update list of modules to produce RST output
Also, adapt some module docstrings to conform with RST
2020-05-05 20:33:27 +02:00
tobi-wan-kenobi
456a3ec4a4 [util] add docstrings 2020-05-05 19:55:37 +02:00
tobi-wan-kenobi
0b0780b213 [docs] some more updates 2020-05-05 19:55:19 +02:00
tobi-wan-kenobi
0b7f61b62e [doc] Add API documentation
for reference:

sphinx-apidoc -o src/ ../ ../bumblebee-status ../bumblebee-ctl ../tests
2020-05-04 20:27:11 +02:00
tobi-wan-kenobi
7aa201dd30 [all] re-apply black 2020-05-04 20:12:02 +02:00
tobi-wan-kenobi
98dd8ca5f7 [core/decorators] reset scrolling if content changes
see #622
2020-05-04 20:11:10 +02:00
tobi-wan-kenobi
49c1465b65 [docs] significant revamp - add sphinx support
make it possible to compile documentation via sphinx - main change is to
use RST instead of MarkDown for most files.
2020-05-04 20:02:48 +02:00
tobi-wan-kenobi
fdd239d234 [doc] Update feature doc (include config files) 2020-05-03 19:51:10 +02:00
tobi-wan-kenobi
c22f803caf [doc] update README 2020-05-03 19:45:57 +02:00
tobi-wan-kenobi
cec1d3cbda [modules/octoprint] small refactoring
see PR #621
2020-05-03 19:39:40 +02:00
tobi-wan-kenobi
05b3fcf863 [doc/modules] Add more space between text and screenshot 2020-05-03 16:59:38 +02:00
tobi-wan-kenobi
2f98240eed [doc/modules] small bugfix for display of images 2020-05-03 16:57:22 +02:00
tobi-wan-kenobi
577dd9b438 [doc/modules] Add screenshots 2020-05-03 16:56:23 +02:00
tobi-wan-kenobi
0a7212e10d [doc/modules] Add octoprint 2020-05-03 16:52:41 +02:00
tobi-wan-kenobi
e25d878097 [doc] updated README.md 2020-05-03 16:51:52 +02:00
tobi-wan-kenobi
e612ec11ac [doc] minor restructuring 2020-05-03 16:47:53 +02:00
tobi-wan-kenobi
3c2ed218cf [doc] Add some more documentation 2020-05-03 11:42:14 +02:00
tobi-wan-kenobi
5fd9501ed2 [core/output] Add parameter "align"
Also, add some documentation
2020-05-03 11:41:30 +02:00
tobi-wan-kenobi
6fc8042899 [main] always show errors in status line
try to completely get rid of the occasional ("exited with status N") in
the status bar by catching exceptions and showing a very very minimal
error message.
2020-05-03 11:32:38 +02:00
tobi-wan-kenobi
421d365d8d [doc] slightly extend HOWTO_MODULE 2020-05-03 11:21:11 +02:00
tobi-wan-kenobi
368d5de171 [doc] some updates 2020-05-03 11:19:21 +02:00
tobi-wan-kenobi
30c1f712a6 [formatting] reformat using "black -t py34"
getting rid of thinking about consistent formatting...
2020-05-03 11:15:52 +02:00
tobi-wan-kenobi
fa98bcbdd1 [doc] update notes 2020-05-02 20:27:55 +02:00
tobi-wan-kenobi
a34ab6cc20
Merge pull request #620 from bbernhard/octoprint
Octoprint
2020-05-02 19:53:25 +02:00
Bernhard B
9dd0eb58eb [modules/octoprint] changed refresh interval to 5 secs. 2020-05-02 19:03:17 +02:00
Bernhard B
5402a0b16f [modules/octoprint] added new octoprint module
* shows printer bed + tools temperature in status bar
* opens popup on left click to show temperature details and webcam
stream (if enabled)
2020-05-02 18:56:53 +02:00
tobi-wan-kenobi
4bd23950c6 [tests] add core/widget tests 2020-05-02 14:14:12 +02:00
tobi-wan-kenobi
5ee97dbb09 [tests] add more core/config tests 2020-05-02 14:09:30 +02:00
tobi-wan-kenobi
b3d70c61f1 [core/config] ast is part of the PSL 2020-05-02 13:57:13 +02:00
tobi-wan-kenobi
ba24ba13db [core/input] add default workspace wrap bindings (mouse wheel up/down) 2020-05-02 13:54:45 +02:00
tobi-wan-kenobi
d0bb0f9b7a [core/config] Add support for configuration files
Load configuration files from a number of places and, if they exist, use
the settings there as baseline settings that can be overwritten by more
specific source (the modules themselves and the CLI `--parameter`
option).

TODO: document this
2020-05-02 13:43:17 +02:00
tobi-wan-kenobi
36faceef68 [doc/THEMES] make links relative 2020-05-02 13:35:23 +02:00
tobi-wan-kenobi
eb63318ca5 [doc] Add iceberg-contrast theme (and screenshots) 2020-05-02 13:34:04 +02:00
tobi-wan-kenobi
bac38ece5d [core/module] only log an error when a module cannot be loaded
improve logging of import errors

see #606
2020-05-02 13:29:20 +02:00
tobi-wan-kenobi
9b63345b44 [modules/nvidiagpu] Fix double "not found" check
refactor error: it should be *either* "not found" in string *OR*
string.startswith("something"), not both.

fixes #617
2020-05-02 09:49:28 +02:00
tobi-wan-kenobi
4838cf862f [doc] update notes 2020-05-02 09:42:36 +02:00
tobi-wan-kenobi
af80f4c620 [ctl] re-add bumblebee-ctl
add a utility that allows the user to programmatically trigger mouse
events for i3
2020-05-02 09:41:41 +02:00
tobi-wan-kenobi
972ada0697 [core/widget] allow to override widget IDs
to uniquely identify a widget, allow the user to specify an ID on the
CLI

TODO: document this
2020-05-02 09:41:08 +02:00
tobi-wan-kenobi
8e71201030 [core/module] name of a widget now equals the module name
to make it easier to trigger events programmatically, the IDs for
modules are not auto-generated UUIDs anymore, but rather the module name
(which has to be unique, anyhow).
2020-05-02 09:40:09 +02:00
tobi-wan-kenobi
a8ab4f9509 [core/output] allow specification of per-widget modified
make it possible to specify the minimum width of all widgets via:

`-m cpu -p cpu.theme.minwidth=20`

or

`-m cpu -p cpu.theme.minwidth=aaaaaa`

multiple widgets are comma-separated (missing entries will have no
minwidth)

`-m sensors2 -p sensors2.theme.minwidth=10,20,10`

see #606

TODO add to documentation
2020-05-01 20:25:10 +02:00
tobi-wan-kenobi
87915a34e9 [core] get output for list of themes/modules 2020-05-01 20:15:39 +02:00
tobi-wan-kenobi
0fca0bb4f9 [tests] fix unit tests - missing mock of default_separators 2020-05-01 15:37:53 +02:00
tobi-wan-kenobi
2ab575d190 [core] do not scroll errors
to make errors easier to diagnose, do not scroll them, but instead fully
show them.

also, re-introduce the supplementary fields for the dwm bridge, kudos to
@somospocos
2020-05-01 15:34:29 +02:00
tobi-wan-kenobi
4daae88a7c [core] Add right-to-left output 2020-05-01 15:34:29 +02:00
tobi-wan-kenobi
f087dbcee4
Merge pull request #616 from martindoublem/bis
Added a new theme and missing icons
2020-05-01 15:00:44 +02:00
tobi-wan-kenobi
802f6c0342
Merge pull request #615 from martindoublem/development
[modules/smartstatus] Add module reference to widgets
2020-05-01 15:00:06 +02:00
Martin
e7466292d2 Added a new theme and missing icons 2020-05-01 13:41:28 +02:00
Bernhard B
cb0c987531 [modules/vpn] fixed typo in vpn module
* due to a typo in the vpn module it wasn't possible anymore to
disconnect an established vpn connection.
2020-05-01 13:41:28 +02:00