2008-09-29 16:49:18 +02:00
|
|
|
---------------------------------------------------------------------------
|
|
|
|
-- @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")
|
|
|
|
|
2008-10-01 16:26:30 +02:00
|
|
|
local ipairs = ipairs
|
|
|
|
local unpack = unpack
|
|
|
|
|
2008-09-29 16:49:18 +02:00
|
|
|
--- awful: AWesome Functions very UsefuL
|
|
|
|
module("awful")
|
|
|
|
|
2008-10-01 16:26:30 +02:00
|
|
|
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
|
|
|
|
|
2008-09-29 16:49:18 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|