aboutsummaryrefslogtreecommitdiff
path: root/batat.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-14 17:25:23 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-14 17:25:23 +0200
commit2a5126f4f0c0a3e073becb98f49499363072643d (patch)
treecd9e79c76420d01c94544ce039a6a73eb667e4e5 /batat.lua
parent4f3599db00b3a55a0ff6e52530bdad282e97f8f3 (diff)
downloadvicious-legacy-2a5126f4f0c0a3e073becb98f49499363072643d.tar.xz
General cleanup
Diffstat (limited to 'batat.lua')
-rw-r--r--batat.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/batat.lua b/batat.lua
index 37224af..dce5820 100644
--- a/batat.lua
+++ b/batat.lua
@@ -16,7 +16,6 @@ module("vicious.batat")
-- {{{ Battery widget type
local function worker(format)
- -- Initialise tables
local battery_info = {}
local battery_state = {
["full"] = "↯",
@@ -29,7 +28,6 @@ local function worker(format)
-- Get data from acpitool
local f = io.popen("acpitool -b")
- -- Format data
for line in f:lines() do
-- Check if the battery is present
if line:match("^[%s]+Battery.*") then