]> git.madduck.net Git - etc/awesome.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

wiki updated for pull #39
authorluke bonham <dadasignificanulla@gmail.com>
Fri, 11 Apr 2014 07:36:22 +0000 (09:36 +0200)
committercopycat-killer <dada@archlinux.info>
Wed, 5 Aug 2015 11:30:39 +0000 (13:30 +0200)
widgets/fs.lua
wiki

index 4d9d27844204e81974c7d1e0efcdc3815dbea811..79f821ef3ecd5c3fcaee0487a70abead4febb390 100644 (file)
@@ -50,7 +50,7 @@ function fs:show(t_out)
     })
 end
 
     })
 end
 
--- Units definitions
+-- Unit definitions
 local unit = { ["mb"] = 1024, ["gb"] = 1024^2 }
 
 local function worker(args)
 local unit = { ["mb"] = 1024, ["gb"] = 1024^2 }
 
 local function worker(args)
@@ -84,8 +84,6 @@ local function worker(args)
 
         f:close()
 
 
         f:close()
 
-        -- chosen partition easy stuff
-        -- you can however check whatever partition else
         fs_now.used      = tonumber(fs_info[partition .. " used_p"])  or 0
         fs_now.available = tonumber(fs_info[partition .. " avail_p"]) or 0
         fs_now.size_mb   = tonumber(fs_info[partition .. " size_mb"]) or 0
         fs_now.used      = tonumber(fs_info[partition .. " used_p"])  or 0
         fs_now.available = tonumber(fs_info[partition .. " avail_p"]) or 0
         fs_now.size_mb   = tonumber(fs_info[partition .. " size_mb"]) or 0
diff --git a/wiki b/wiki
index bff87f6bb0d1707d0f089a4449082ce43b121275..571b618dce199ba0e349c8c6498f08df45150329 160000 (submodule)
--- a/wiki
+++ b/wiki
@@ -1 +1 @@
-Subproject commit bff87f6bb0d1707d0f089a4449082ce43b121275
+Subproject commit 571b618dce199ba0e349c8c6498f08df45150329