1
0
Fork 0

Re-add all widgets.

This commit is contained in:
namedkitten 2020-07-19 16:32:26 +01:00
parent 22610a8b8f
commit 5ceeda56f0

View file

@ -33,11 +33,11 @@ pub fn main() !void {
const widgets = [_]*Widget{
//&Widget.init(&textWidget.New("owo", "potato")), // 4KiB
//&Widget.init(&textWidget.New("uwu", "tomato")), // 4KiB
//&Widget.init(&cpuWidget.New(&br)), // 4.08KiB
&Widget.init(&cpuWidget.New(&br)), // 4.08KiB
&Widget.init(&memoryWidget.New(&br)), // 4.08KiB
//&Widget.init(&weatherWidget.New(allocator, &br, @import("build_options").weather_location)), // 16.16KiB
//&Widget.init(&batteryWidget.New(allocator, &br)), // 12.11KiB
//&Widget.init(&timeWidget.New(allocator, &br)), // 32.46KiB
&Widget.init(&weatherWidget.New(allocator, &br, @import("build_options").weather_location)), // 16.16KiB
&Widget.init(&batteryWidget.New(allocator, &br)), // 12.11KiB
&Widget.init(&timeWidget.New(allocator, &br)), // 32.46KiB
};
bar.widgets = widgets[0..];
try br.start();