X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e00ee3436e0a01827eeda3b5360304eea2a6fb92..317fea4ca4c999c0fef9a9f15020e8b301a1ef43:/widgets/yawn/init.lua?ds=sidebyside diff --git a/widgets/yawn/init.lua b/widgets/yawn/init.lua index 033254e..b034395 100644 --- a/widgets/yawn/init.lua +++ b/widgets/yawn/init.lua @@ -13,7 +13,8 @@ local naughty = require("naughty") local wibox = require("wibox") local debug = { getinfo = debug.getinfo } -local io = io +local io = { lines = io.lines, + open = io.open } local os = { date = os.date, getenv = os.getenv } local string = { find = string.find, @@ -166,7 +167,6 @@ function yawn.show(t_out) text = weather_data, icon = sky, timeout = t_out, - screen = client.focus and client.focus.screen or 1 }) end