]> 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:

some fixes
authorcopycat-killer <dada@archlinux.info>
Fri, 24 Jun 2016 18:14:23 +0000 (20:14 +0200)
committercopycat-killer <dada@archlinux.info>
Fri, 24 Jun 2016 18:14:23 +0000 (20:14 +0200)
widgets/bat.lua
widgets/fs.lua

index fa9f85458bf823517902cb0d223861cebc6cdb6d..080c43ff098b2e130730af4c5572de4cfa6d481c 100644 (file)
@@ -70,7 +70,6 @@ local function worker(args)
         local sum_energy_full       = 0
         local sum_energy_percentage = 0
         local pspath                = "/sys/class/power_supply/"
-  --      local pspath = "/home/luke/Download/"
 
         for i, battery in ipairs(batteries) do
             local bstr    = pspath .. battery
index a1d5d95beaa896362f403a59f8c2b81cf7ce77c7..6ec8dac5edaef6f0113794fb413f5e5b3b7d4cef 100644 (file)
@@ -92,6 +92,7 @@ local function worker(args)
         fs_now.size_mb   = tonumber(fs_info[partition .. " size_mb"]) or 0
         fs_now.size_gb   = tonumber(fs_info[partition .. " size_gb"]) or 0
 
+        notification_preset = fs.notification_preset
         widget = fs.widget
         settings()