FIX battery on startup

This commit is contained in:
Nathan Dwarshuis 2021-08-31 21:17:35 -04:00
parent 79131ffaa7
commit 328201a228
2 changed files with 3 additions and 3 deletions

2
core

@ -1 +1 @@
Subproject commit 4da966c53f54d9438a012607aba3100fedafa2fb Subproject commit 015b909d5c62aedab6903a389c74aec40550efc6

View File

@ -42,7 +42,7 @@ function conky_start(update_interval)
local mem = memory(update_freq) local mem = memory(update_freq)
local rw = readwrite(update_freq, devices) local rw = readwrite(update_freq, devices)
local net = network(update_freq) local net = network(update_freq)
local pwr = power(update_freq) local pwr = power(update_freq, battery)
local fs = filesystem(fs_paths) local fs = filesystem(fs_paths)
local stm = system() local stm = system()
local gfx = graphics(update_freq) local gfx = graphics(update_freq)
@ -75,7 +75,7 @@ function conky_start(update_interval)
net.update() net.update()
pcm.update(pacman_stats) pcm.update(pacman_stats)
fs.update(t1) fs.update(t1)
pwr.update(is_using_ac, battery) pwr.update(is_using_ac)
mem.update() mem.update()
-- draw dynamic components -- draw dynamic components