1
0
Fork 0

add battery by default.

This commit is contained in:
ChaotiCryptidz 2021-12-21 13:05:11 +00:00
parent 9f78c26bb6
commit 719ea5667d

View file

@ -71,7 +71,7 @@ pub fn main() !void {
&Widget.init(&cpuWidget.New(&br)), // 4.08KiB &Widget.init(&cpuWidget.New(&br)), // 4.08KiB
&Widget.init(&memoryWidget.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(&weatherWidget.New(allocator, &br, @import("build_options").weather_location)), // 16.16KiB
//&Widget.init(&batteryWidget.New(allocator, &br)), // 12.11KiB &Widget.init(&batteryWidget.New(allocator, &br)), // 12.11KiB
&Widget.init(&timeWidget.New(allocator, &br)), // 32.46KiB &Widget.init(&timeWidget.New(allocator, &br)), // 32.46KiB
}; };
bar.widgets = widgets[0..]; bar.widgets = widgets[0..];