aboutsummaryrefslogtreecommitdiff
path: root/modules/awesome/config.dot/awesome.link/leds.lua
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-27 14:43:43 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-27 14:43:43 -0200
commit7cf5d06c8c96d3ae3d41d8a54bfc386f13b3c4a4 (patch)
tree4ef45e403d272dc3220ee5fd69cdf06f4bcec968 /modules/awesome/config.dot/awesome.link/leds.lua
parent03fdeb451b3bf1c63e3f2a725bf9bdb8e137f0a7 (diff)
downloadmetadot-7cf5d06c8c96d3ae3d41d8a54bfc386f13b3c4a4.tar.gz
metadot-7cf5d06c8c96d3ae3d41d8a54bfc386f13b3c4a4.tar.bz2
Cleaning up modules
Diffstat (limited to 'modules/awesome/config.dot/awesome.link/leds.lua')
-rw-r--r--modules/awesome/config.dot/awesome.link/leds.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/awesome/config.dot/awesome.link/leds.lua b/modules/awesome/config.dot/awesome.link/leds.lua
deleted file mode 100644
index 382abdd..0000000
--- a/modules/awesome/config.dot/awesome.link/leds.lua
+++ /dev/null
@@ -1,13 +0,0 @@
--- See https://bbs.archlinux.org/viewtopic.php?id=68511
-myledbox = widget({ type = "textbox" })
-
-function run_leds()
- local filedescripter = io.popen('leds')
- local value = filedescripter:read()
- filedescripter:close()
- return value
-end
-
-mytimer = timer({ timeout = 1 })
-mytimer:add_signal("timeout", function() myledbox.text = run_leds() end)
-mytimer:start()