#103: revert to original fs implementation

This commit is contained in:
luke bonham 2015-03-25 19:41:08 +01:00 committed by copycat-killer
parent 223125b60b
commit 49221b8055
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ local setmetatable = setmetatable
local alsabar = {
card = "0",
channel = "Master",
step = "5%",
step = "2%",
colors = {
background = beautiful.bg_normal,

View File

@ -66,7 +66,7 @@ local function worker(args)
function update()
fs_info = {}
fs_now = {}
local f = io.popen("LC_ALL=C df -kP " .. partition)
local f = assert(io.popen("LC_ALL=C df -kP"))
for line in f:lines() do -- Match: (size) (used)(avail)(use%) (mount)
local s = string.match(line, "^.-[%s]([%d]+)")