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