awesome/lib/awful/widget
Uli Schlachter 5c6e25fe0a Revert 31b8623ff6 and fix things properly (#2142)
The code here has things like "if cache.bgb" which suggests that "bgb"
(great name, by the way) is supposed to be optional. However,
31b8623ff6 made this thing definitely not optional by making it
*the* widget that is displayed. That feels wrong.

Also, after the above commit, the ".primary" entry is no longer used,
which is at least surprising for something which is called "primary".

None of this is explicitly documented (I didn't find anything when
looking for "primary" in common.lua nor tasklist.lua; I know that there
are examples for using this, but still that doesn't say how this is
supposed to work), so I'm not quite sure how this was intended to work.
Instead, I am just proposing this commit as a better fix with the above
rational and see what feedback I get...

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-01-12 21:32:51 -05:00
..
button.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
calendar_popup.lua Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
clienticon.lua clienticon: add a client setter (#2018) 2017-08-27 14:23:06 +02:00
common.lua Revert 31b8623ff6 and fix things properly (#2142) 2018-01-12 21:32:51 -05:00
graph.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
init.lua Add missing awful.widget.common require (#1850) 2017-06-15 18:47:48 +02:00
keyboardlayout.lua KeyboardLayout widget: add EurKey (#2003) 2017-08-17 17:21:40 +02:00
launcher.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
layoutbox.lua layoutbox: Use a textbox as the fallback when no images are found 2017-06-20 18:22:23 -04:00
only_on_screen.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
progressbar.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
prompt.lua Move filesystem functions out of awful.util into new gears.filesystem 2017-03-15 13:46:33 -05:00
taglist.lua taglist: Support externally defined layouts and widgets 2017-12-02 16:41:25 -05:00
tasklist.lua tasklist: Support externally defined layouts and widgets 2017-12-02 16:41:25 -05:00
textclock.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
watch.lua awful.widget.watch: return timer too 2017-02-08 14:53:40 +01:00