aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--widgets/fs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/fs.lua b/widgets/fs.lua
index c0b7f16..7832b1f 100644
--- a/widgets/fs.lua
+++ b/widgets/fs.lua
@@ -32,7 +32,7 @@ local function worker(format, warg)
for line in f:lines() do -- Match: (size) (used)(avail)(use%) (mount)
local s = string.match(line, "^.-[%s]([%d]+)")
local u,a,p = string.match(line, "([%d]+)[%D]+([%d]+)[%D]+([%d]+)%%")
- local m = string.match(line, "%%[%s]([%p%w]+)")
+ local m = string.match(line, "%%[%s]+([%p%w]+)")
if u and m then -- Handle 1st line and broken regexp
helpers.uformat(fs_info, m .. " size", s, unit)