From 328201a22868b5e0d8bce956ed4df092b29f247c Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Tue, 31 Aug 2021 21:17:35 -0400 Subject: [PATCH] FIX battery on startup --- core | 2 +- main.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core b/core index 4da966c..015b909 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 4da966c53f54d9438a012607aba3100fedafa2fb +Subproject commit 015b909d5c62aedab6903a389c74aec40550efc6 diff --git a/main.lua b/main.lua index 60ccfea..1dc56c6 100644 --- a/main.lua +++ b/main.lua @@ -42,7 +42,7 @@ function conky_start(update_interval) local mem = memory(update_freq) local rw = readwrite(update_freq, devices) local net = network(update_freq) - local pwr = power(update_freq) + local pwr = power(update_freq, battery) local fs = filesystem(fs_paths) local stm = system() local gfx = graphics(update_freq) @@ -75,7 +75,7 @@ function conky_start(update_interval) net.update() pcm.update(pacman_stats) fs.update(t1) - pwr.update(is_using_ac, battery) + pwr.update(is_using_ac) mem.update() -- draw dynamic components