Commit graph

2207 commits

Author SHA1 Message Date
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
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
cab87896f9 [doc] update 2020-04-29 20:15:44 +02:00
tobi-wan-kenobi
98a57c3d3b [modules] re-enable network_traffic 2020-04-29 16:20:20 +02:00
tobi-wan-kenobi
611bed2007 [core/output] Always hide modules that use "hidden()" 2020-04-29 14:39:12 +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
f1341772e5 [core/output] Evaluate "hidden()" callback of modules 2020-04-28 20:13:31 +02:00
tobi-wan-kenobi
e4604a8317 [modules/nvidiagpu] Automatically hide if deactivated
fixes #603
2020-04-28 20:03:30 +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
7867253fdd [doc] constructors have been updated 2020-04-26 16:41:16 +02:00
tobi-wan-kenobi
28bdf4355b [core] Add theme to modules 2020-04-26 16:40:48 +02:00
tobi-wan-kenobi
f2d411276d [modules/all] Update constructore to include theme 2020-04-26 16:39:24 +02:00
tobi-wan-kenobi
1f94eab927 [core] Add themes to module constructor 2020-04-26 16:39:13 +02:00
tobi-wan-kenobi
6f9abf616d [modules/nvidiagpu] Automatically hide if inactive
If no nvidia card is found, hide the widget

see #603
2020-04-26 16:10:04 +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
tobi-wan-kenobi
ec2b2a8a4b [modules/smartstatus] Updated to latest API 2020-04-26 10:07:17 +02:00
tobi-wan-kenobi
8e29bf8f9e [modules/smartstatus] quotes 2020-04-26 10:02:05 +02:00
tobi-wan-kenobi
965d2844b0 [modules] re-enable smartstatus 2020-04-26 10:01:51 +02:00
tobi-wan-kenobi
50449bcee4 [modules/spaceapi] Update to latest API 2020-04-25 16:35:00 +02:00
tobi-wan-kenobi
081186d97d [modules/spaceapi] quotes 2020-04-25 16:28:19 +02:00