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
Martin
9a0505f5f2
[modules/smartstatus] Add module reference to widgets
...
fixes related to #612
2020-05-01 13:23:12 +02:00
tobi-wan-kenobi
aee4b37fb5
Merge pull request #613 from bbernhard/fix_vpn_disconnect
...
[modules/vpn] fixed typo in vpn module
2020-05-01 10:05:44 +02:00
tobi-wan-kenobi
2a663deb7b
[core/modules] Add widget producer for module
...
simplifies and debugs widget creation
2020-05-01 10:03:50 +02:00
tobi-wan-kenobi
859a387676
[modules/rss] update to latest API
2020-05-01 09:54:21 +02:00
tobi-wan-kenobi
9c4c712931
[modules] re-enable rss
2020-05-01 09:46:21 +02:00
tobi-wan-kenobi
7956b28463
[doc] update notes
2020-05-01 09:46:14 +02:00
tobi-wan-kenobi
13626f6b3e
[modules/sensors2] Add module reference to widgets
...
fixes #612
2020-05-01 09:45:02 +02:00
tobi-wan-kenobi
595778f7c3
[core/config] enable logging into a log file
...
Re-enable the -f | --logfile parameter, but still default to logging to
stderr.
Also, add a "debug" module that is automatically displayed if a bar is
run in debug mode (thanks to @bbernhard for the excellent suggestion)
fixes #614
2020-05-01 09:42:26 +02:00
Bernhard B
17983d4ecc
[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 08:51:05 +02:00
Tobias Witek
650942a3e3
[modules/arch-update] Fix missing check_updates()
...
refactoring broke the arch-update module - fix it.
fixes #610
2020-04-30 21:13:41 +02:00
tobi-wan-kenobi
289a4bad41
[modules/deadbeef] Update to latest API
2020-04-30 20:34:34 +02:00
tobi-wan-kenobi
06f229a339
[modules/deadbeef] quotes
2020-04-30 20:25:59 +02:00
tobi-wan-kenobi
dbbc1284e8
[doc] update notes
2020-04-30 20:25:53 +02:00
tobi-wan-kenobi
f846023fbe
[modules] re-enable deadbeef
2020-04-30 20:25:31 +02:00
tobi-wan-kenobi
cc8b8a5c31
[theme] Draw default separators if specified in theme
...
fixes #605
2020-04-30 20:23:12 +02:00
tobi-wan-kenobi
39d139a51b
[core/output] Use string format for interval
...
see #609
2020-04-30 20:18:42 +02:00
tobi-wan-kenobi
a8e01f0df9
[modules/docker] Exception when daemon is not running
...
When the docker daemon is not running, only the call to
containers.list() actually throws an exception, so move that into the
exception guard.
fixes #608
2020-04-30 20:13:23 +02:00
tobi-wan-kenobi
88e56c4c47
[core] Add '-d' as shorthand for '--debug'
...
see #606
2020-04-30 12:52:09 +02:00
tobi-wan-kenobi
1e4955d4b8
[core/module] Make name and module_name attributes
2020-04-30 12:50:24 +02:00
tobi-wan-kenobi
b27956071f
[core/widget] Make module an attribute
...
Instead of having an artifical getter/setter method, just make module a
plain attribute.
2020-04-30 12:46:57 +02:00
tobi-wan-kenobi
9cd9ff626d
[core] make widget name an attribute
...
first, this fixes #607
also, i think it slightly simplifies code to make "simple" stuff like
names, etc. attributes instead of methods all the time.
so, expect this to be extended to other components, as well.
2020-04-30 12:42:34 +02:00
tobi-wan-kenobi
2cc463eb1a
[modules/mpd] update to latest API
2020-04-29 20:29:51 +02:00
tobi-wan-kenobi
dc7577069f
[modules/mpd] quotes
2020-04-29 20:23:53 +02:00
tobi-wan-kenobi
2ffd4bca1d
[modules] re-enable mpd
2020-04-29 20:23:37 +02:00
tobi-wan-kenobi
b16579447a
[modules/bluetooth2] Update to latest API
2020-04-29 20:23:10 +02:00