2009-05-05 17:32:53 +02:00
|
|
|
---------------------------------------------------------------------------
|
2016-05-08 08:10:35 +02:00
|
|
|
--- This module is deprecated and has been renamed `awful.wibar`
|
2014-05-20 13:02:39 +02:00
|
|
|
--
|
2016-05-07 08:55:23 +02:00
|
|
|
-- @author Emmanuel Lepage Vallee <elv1313@gmail.com>
|
|
|
|
-- @copyright 2016 Emmanuel Lepage Vallee
|
2009-05-05 17:32:53 +02:00
|
|
|
-- @release @AWESOME_VERSION@
|
2014-05-20 13:02:39 +02:00
|
|
|
-- @module awful.wibox
|
2009-05-05 17:32:53 +02:00
|
|
|
---------------------------------------------------------------------------
|
2016-05-07 08:55:23 +02:00
|
|
|
local util = require("awful.util")
|
2016-05-08 08:10:35 +02:00
|
|
|
local wibar = require("awful.wibar")
|
2016-05-07 08:55:23 +02:00
|
|
|
|
2016-05-08 08:10:35 +02:00
|
|
|
local function call(_,...)
|
|
|
|
util.deprecate("awful.wibox has been renamed to awful.wibar")
|
2016-05-07 08:55:23 +02:00
|
|
|
|
2016-05-08 08:10:35 +02:00
|
|
|
return wibar(...)
|
2009-05-05 17:32:53 +02:00
|
|
|
end
|
|
|
|
|
2016-05-08 08:10:35 +02:00
|
|
|
local function index(_, k)
|
|
|
|
util.deprecate("awful.wibox has been renamed to awful.wibar")
|
2016-05-07 08:55:23 +02:00
|
|
|
|
2016-05-08 08:10:35 +02:00
|
|
|
return wibar[k]
|
2009-05-05 17:32:53 +02:00
|
|
|
end
|
|
|
|
|
2016-05-08 08:10:35 +02:00
|
|
|
local function newindex(_, k, v)
|
|
|
|
util.deprecate("awful.wibox has been renamed to awful.wibar")
|
2016-05-07 08:55:23 +02:00
|
|
|
|
2016-05-08 08:10:35 +02:00
|
|
|
wibar[k] = v
|
2016-05-07 08:55:23 +02:00
|
|
|
end
|
|
|
|
|
2016-05-08 08:10:35 +02:00
|
|
|
return setmetatable({}, {__call = call, __index = index, __newindex = newindex})
|
2009-05-05 17:32:53 +02:00
|
|
|
|
2011-09-11 16:50:01 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|