Commit graph

277 commits

Author SHA1 Message Date
tobi-wan-kenobi
a8f4d3f9c6 [modules/octoprint] Add missing contribution 2020-05-09 10:19:11 +02:00
tobi-wan-kenobi
dd4294ecfa [modules] move some modules into contrib, as appropriate 2020-05-08 20:59:38 +02:00
tobi-wan-kenobi
21049b9b03 [modules] Add contributions to (hopefully!) all modules 2020-05-08 20:58:35 +02:00
tobi-wan-kenobi
5dcf9f9c9d [modules/arch-update] fix typo 2020-05-08 16:24:10 +02:00
tobi-wan-kenobi
41f8f31dd8 [modules/redshift] Use boolean format, rename parameter 2020-05-08 16:14:07 +02:00
tobi-wan-kenobi
7d8b659a55 [modules/smartstatus] Use common boolean format 2020-05-08 16:12:34 +02:00
tobi-wan-kenobi
7d7324f6ed [modules/docker_ps] upper -> lowercase (personal preference) 2020-05-08 16:10:27 +02:00
tobi-wan-kenobi
e4f7019f5b [modules/arch-update] log exceptions 2020-05-08 16:09:51 +02:00
tobi-wan-kenobi
fde51b3f79
Merge pull request #625 from martindoublem/martin-development
Improved three modules in showing more compacted info with new parameters
2020-05-08 16:08:54 +02:00
tobi-wan-kenobi
e7eef7f028 [modules/arch-update] catch more error
see #624
2020-05-07 20:10:58 +02:00
Martin
879d00775b Shorter off message for docker_ps 2020-05-07 07:06:27 +02:00
Martin
478ee68f89 Improved reshdift 2020-05-07 06:44:27 +02:00
Martin
45d893aaba improved smartstatus 2020-05-07 06:18:17 +02:00
tobi-wan-kenobi
f49300e568 [doc] update docs as per #606 2020-05-06 12:57:38 +02:00
tobi-wan-kenobi
60a2d82e1c [modules] rename __pulseaudio to pulseaudio 2020-05-06 12:57:16 +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
7aa201dd30 [all] re-apply black 2020-05-04 20:12:02 +02:00
tobi-wan-kenobi
cec1d3cbda [modules/octoprint] small refactoring
see PR #621
2020-05-03 19:39:40 +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
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
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
87915a34e9 [core] get output for list of themes/modules 2020-05-01 20:15:39 +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
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
f846023fbe [modules] re-enable deadbeef 2020-04-30 20:25:31 +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
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
tobi-wan-kenobi
2028d51e15 [modules/bluetooth2] quotes 2020-04-29 20:20:04 +02:00
tobi-wan-kenobi
6e5d60d3ae [modules] re-enable bluetooth2 2020-04-29 20:19:45 +02:00
tobi-wan-kenobi
5aba8a6a36 [modules/bluetooth] update to new API 2020-04-29 20:19:18 +02:00
tobi-wan-kenobi
359effdd85 [modules/bluetooth] quotes 2020-04-29 20:16:19 +02:00
tobi-wan-kenobi
c195b0398e [modules] re-enable bluetooth 2020-04-29 20:16:05 +02:00
tobi-wan-kenobi
98a57c3d3b [modules] re-enable network_traffic 2020-04-29 16:20:20 +02:00
tobi-wan-kenobi
32444ed49f [modules/cmus] Update to latest API 2020-04-28 20:25:28 +02:00
tobi-wan-kenobi
a943e65ed7 [modules/cmus] quotes 2020-04-28 20:16:29 +02:00