awesome/lib/awful/init.lua.in

47 lines
1.2 KiB
Lua
Raw Normal View History

---------------------------------------------------------------------------
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008 Julien Danjou
-- @release @AWESOME_VERSION@
---------------------------------------------------------------------------
local beautiful = require("awful.beautiful")
local client = require("awful.client")
local completion = require("awful.completion")
local hooks = require("awful.hooks")
local layout = require("awful.layout")
local placement = require("awful.placement")
local prompt = require("awful.prompt")
local screen = require("awful.screen")
local tag = require("awful.tag")
local titlebar = require("awful.titlebar")
local util = require("awful.util")
local widget = require("awful.widget")
local menu = require("awful.menu")
local ipairs = ipairs
local unpack = unpack
--- awful: AWesome Functions very UsefuL
module("awful")
local deprecated_functions =
{
"color_strip_alpha",
"cycle",
"mkdir",
"spawn",
"pread",
"eval",
"escape",
"unescape"
}
for k, v in ipairs(deprecated_functions) do
_M[v] = function (...)
util.deprecate()
util[v](unpack(arg))
end
end
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80