diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-17 22:32:17 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-17 22:32:17 -0500 |
commit | df86f7b92a3d0985d6d8c9ab1d027eeddb7b0443 (patch) | |
tree | b5e27ebd0cea42abee2b3ef0981087cd2c3a57eb /awesome/util/widgets.lua | |
parent | 572382a9ce99162bd93d2d6e3fd789f2c99bf420 (diff) | |
download | dotconfig-df86f7b92a3d0985d6d8c9ab1d027eeddb7b0443.tar.xz dotconfig-df86f7b92a3d0985d6d8c9ab1d027eeddb7b0443.zip |
remove awesome config, push to own repo
Diffstat (limited to 'awesome/util/widgets.lua')
-rw-r--r-- | awesome/util/widgets.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/awesome/util/widgets.lua b/awesome/util/widgets.lua deleted file mode 100644 index 301f25b..0000000 --- a/awesome/util/widgets.lua +++ /dev/null @@ -1,19 +0,0 @@ -local wibox = require("wibox") -local gears = require("gears") - -local widgets = {} - -function widgets.watchfn(callback, timeout, base_widget) - local widget = (base_widget or wibox.widget.textbox)() - gears.timer({ - timeout = timeout or 5, - call_now = true, - autostart = true, - callback = function() - callback(widget) - end - }) - return widget -end - -return widgets |