From 5ceeda56f05220935daf61de2e0465d2674fbd34 Mon Sep 17 00:00:00 2001 From: namedkitten Date: Sun, 19 Jul 2020 16:32:26 +0100 Subject: [PATCH] Re-add all widgets. --- src/main.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.zig b/src/main.zig index 2649b60..e5d4a92 100644 --- a/src/main.zig +++ b/src/main.zig @@ -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();