From: copycat-killer Date: Mon, 13 Feb 2017 12:33:44 +0000 (+0100) Subject: wiki updated; #314 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/5f32175e3d98e64bf3caadcfce016740a154b6cc?hp=--cc;pf=etc wiki updated; #314 --- 5f32175e3d98e64bf3caadcfce016740a154b6cc diff --git a/README.rst b/README.rst index e3cc5d4..4515be7 100644 --- a/README.rst +++ b/README.rst @@ -18,7 +18,7 @@ If you still have to use branch 3.5.x, you can refer to the commit 301faf5_, but 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. diff --git a/widget/bat.lua b/widget/bat.lua index 9976517..4182e07 100644 --- a/widget/bat.lua +++ b/widget/bat.lua @@ -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 - 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 diff --git a/wiki b/wiki index d3b29e2..ebd3fbe 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit d3b29e25c4d47a5988948d2f9432d9353c826c2a +Subproject commit ebd3fbe8171a6764c9b5fdc916fc4b6f4939a31f