]> 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; #314
authorcopycat-killer <dada@archlinux.info>
Mon, 13 Feb 2017 12:33:44 +0000 (13:33 +0100)
committercopycat-killer <dada@archlinux.info>
Mon, 13 Feb 2017 12:33:44 +0000 (13:33 +0100)
README.rst
widget/bat.lua
wiki

index e3cc5d497e76ef59c9bca017a7a4956b7d2a13cd..4515be7bfbea3c29d8d83e7723ff8ae2f4346258 100644 (file)
@@ -18,7 +18,7 @@ If you still have to use branch 3.5.x, you can refer to the commit 301faf5_, but
 Description
 -----------
 
 Description
 -----------
 
-Successor of awesome-vain_, this module provides new layouts, asynchronous widgets and utility functions, with the aim of improving Awesome_ usability and configurability.
+Successor of awesome-vain_, this module provides alternative layouts, asynchronous widgets and utility functions for Awesome_ WM.
 
 Read the wiki_ for all the info.
 
 
 Read the wiki_ for all the info.
 
index 9976517423aaf61d4aa6c97855dfed2795c1c63d..4182e070ae414ce08fe3ca2210b1797a5fc38beb 100644 (file)
@@ -119,9 +119,9 @@ local function factory(args)
 
         if bat_now.status ~= "N/A" then
             if bat_now.status ~= "Full" and sum_rate_power == 0 and bat_now.ac_status == 1 then
 
         if bat_now.status ~= "N/A" then
             if bat_now.status ~= "Full" and sum_rate_power == 0 and bat_now.ac_status == 1 then
-                                                               bat_now.perc  = math.floor(math.min(100, (sum_energy_now / sum_energy_full) * 100))
-                                                               bat_now.time  = "00:00"
-                                                               bat_now.watt  = 0
+                bat_now.perc  = math.floor(math.min(100, (sum_energy_now / sum_energy_full) * 100))
+                bat_now.time  = "00:00"
+                bat_now.watt  = 0
 
             -- update {perc,time,watt} iff battery not full and rate > 0
             elseif bat_now.status ~= "Full" then
 
             -- update {perc,time,watt} iff battery not full and rate > 0
             elseif bat_now.status ~= "Full" then
diff --git a/wiki b/wiki
index d3b29e25c4d47a5988948d2f9432d9353c826c2a..ebd3fbe8171a6764c9b5fdc916fc4b6f4939a31f 160000 (submodule)
--- a/wiki
+++ b/wiki
@@ -1 +1 @@
-Subproject commit d3b29e25c4d47a5988948d2f9432d9353c826c2a
+Subproject commit ebd3fbe8171a6764c9b5fdc916fc4b6f4939a31f