>Maybe you can reset it (with the reset function)
Yes, if you mean this
https://awesome.naquadah.org/doc/api/modules/wibox.layout.margin.html#reset
I founded this way on my own and i use it for one single widget located
in its own layout (and it works by the way), but this way is slightly
complicated and isn't nice-designed for multiple widgets and if their
amount is unknown beforehand (as it's in my case).
I'll open issue on Github then, thank you for your time.
02.04.2015 12:23, Alexis BRENON:
Hi,
Layouts don't seem to have any remove function. Maybe you can reset it
(with the reset function) and the add the widgets that you want. It's
not the easier way but the only that I see with available API. Maybe
you can open an issue on Github to add a remove function.
Kind Regards,
Alexis
Le jeu. 2 avr. 2015 à 05:52, [email protected]
<mailto:[email protected]> <[email protected]
<mailto:[email protected]>> a écrit :
No, i want to create and remove them dinamically in runtime. Is it
possible?
01.04.2015 17:30, Mathias Brulatout:
1/2. Just comment this block.
But for your actions to take effet, you need to reload awesome
with your new configuration. By default it's Super + Maj + R.
Mathias
2015-04-01 14:09 GMT+02:00 [email protected]
<mailto:[email protected]> <[email protected]
<mailto:[email protected]>>:
For example quotes from default rc.lua:
mytextclock = awful.widget.textclock()
right_layout:add(mytextclock)
layout:set_right(right_layout)
mywibox[s]:set_widget(layout)
Two questions:
1. How to remove widget mytextclock from mywibox?
2. How to remove widget mytextclock at all?
Is that enough
mytextclock = nil
?
--
To unsubscribe, send mail to [email protected]
<mailto:[email protected]>.