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

battery: forgot to remove debugging line
authorcopycat-killer <dada@archlinux.info>
Sat, 25 Jun 2016 12:07:43 +0000 (14:07 +0200)
committercopycat-killer <dada@archlinux.info>
Sat, 25 Jun 2016 12:07:43 +0000 (14:07 +0200)
widgets/bat.lua

index f3ddd33b4d9fa20aa7d83af7bcf85f0089798bf9..d429c71a676e941d2443e174be83960eddb4ec70 100644 (file)
@@ -70,8 +70,7 @@ local function worker(args)
         local sum_energy_now        = 0
         local sum_energy_full       = 0
         local sum_energy_percentage = 0
-        --local pspath                = "/sys/class/power_supply/"
-        local pspath = "/home/luke/Download/"
+        local pspath                = "/sys/class/power_supply/"
 
         for i, battery in ipairs(batteries) do
             local bstr    = pspath .. battery