X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/752ba7fa3d8928dfc19c59dbf3c6d167c4ae3bc9..229d2545dd399b52c6128a823657c6266fbbe8a9:/helpers.lua diff --git a/helpers.lua b/helpers.lua index 0305722..f32c4ad 100644 --- a/helpers.lua +++ b/helpers.lua @@ -7,6 +7,8 @@ --]] +local easy_async = require("awful.spawn").easy_async +local timer = require("gears.timer") local debug = require("debug") local io = { lines = io.lines, open = io.open, @@ -14,10 +16,6 @@ local io = { lines = io.lines, local rawget = rawget local table = { sort = table.sort } -local easy_async = require("awful.spawn").easy_async -local timer = require("gears.timer") -local wibox = require("wibox") - -- Lain helper functions for internal use -- lain.helpers local helpers = {} @@ -177,12 +175,6 @@ function helpers.spairs(t) end end --- create a lain textbox -function helpers.make_widget_textbox() - local w = { widget = wibox.widget.textbox() } - return setmetatable(w, { __index = w.widget }) -end - -- }}} return helpers