Commit graph

2776 commits

Author SHA1 Message Date
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
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