Commit graph

267 commits

Author SHA1 Message Date
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
tobi-wan-kenobi
2314a7b27a [modules] re-enable cmus 2020-04-28 20:16:15 +02:00
tobi-wan-kenobi
65faf73e8d [modules/nvidiagpu] Hide if not found 2020-04-28 20:15:25 +02:00
tobi-wan-kenobi
f2e0d3c0ee [modules/sensors] update to latest API 2020-04-26 16:45:19 +02:00
tobi-wan-kenobi
fd92b249de [modules] re-enable sensors 2020-04-26 16:41:50 +02:00
tobi-wan-kenobi
f2d411276d [modules/all] Update constructore to include theme 2020-04-26 16:39:24 +02:00
tobi-wan-kenobi
354d723b7c [modules/vpn] Update to latest API 2020-04-26 10:42:19 +02:00
tobi-wan-kenobi
f44ff3fd34 [modules] re-enable vpn 2020-04-26 10:38:40 +02:00
tobi-wan-kenobi
cfa1a5c896 [modules/cpu2] Update to latest API 2020-04-26 10:34:25 +02:00
tobi-wan-kenobi
b34178ee71 [modules/cpu2] quotes 2020-04-26 10:08:17 +02:00
tobi-wan-kenobi
ed9278cd39 [modules] re-enable cpu2 2020-04-26 10:08:01 +02:00