2008-09-29 16:49:18 +02:00
|
|
|
---------------------------------------------------------------------------
|
2014-05-20 13:02:39 +02:00
|
|
|
--- AWesome Functions very UsefuL
|
|
|
|
--
|
2008-09-29 16:49:18 +02:00
|
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
|
|
-- @copyright 2008 Julien Danjou
|
|
|
|
-- @release @AWESOME_VERSION@
|
2014-05-20 13:02:39 +02:00
|
|
|
-- @module awful
|
2008-09-29 16:49:18 +02:00
|
|
|
---------------------------------------------------------------------------
|
|
|
|
|
2014-12-07 09:44:58 +01:00
|
|
|
-- TODO: This is a hack for backwards-compatibility with 3.5, remove!
|
|
|
|
local util = require("awful.util")
|
|
|
|
local gtimer = require("gears.timer")
|
|
|
|
function timer(...)
|
|
|
|
util.deprecate("gears.timer")
|
|
|
|
return gtimer(...)
|
|
|
|
end
|
|
|
|
|
2015-09-30 00:05:56 +02:00
|
|
|
--TODO: This is a hack for backwards-compatibility with 3.5, remove!
|
2015-10-10 20:26:07 +02:00
|
|
|
-- Set awful.util.spawn* and awful.util.pread.
|
2015-09-30 00:05:56 +02:00
|
|
|
local spawn = require("awful.spawn")
|
|
|
|
|
|
|
|
util.spawn = function(...)
|
|
|
|
util.deprecate("awful.spawn")
|
2015-10-10 20:26:07 +02:00
|
|
|
return spawn.spawn(...)
|
2015-09-30 00:05:56 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
util.spawn_with_shell = function(...)
|
|
|
|
util.deprecate("awful.spawn.with_shell")
|
2015-10-10 20:26:07 +02:00
|
|
|
return spawn.with_shell(...)
|
|
|
|
end
|
|
|
|
|
|
|
|
util.pread = function(...)
|
|
|
|
util.deprecate("awful.spawn.pread")
|
|
|
|
return spawn.pread(...)
|
2015-09-30 00:05:56 +02:00
|
|
|
end
|
|
|
|
|
2012-06-12 20:13:09 +02:00
|
|
|
return
|
|
|
|
{
|
|
|
|
client = require("awful.client");
|
|
|
|
completion = require("awful.completion");
|
|
|
|
layout = require("awful.layout");
|
|
|
|
placement = require("awful.placement");
|
|
|
|
prompt = require("awful.prompt");
|
|
|
|
screen = require("awful.screen");
|
|
|
|
tag = require("awful.tag");
|
|
|
|
util = require("awful.util");
|
|
|
|
widget = require("awful.widget");
|
|
|
|
keygrabber = require("awful.keygrabber");
|
|
|
|
menu = require("awful.menu");
|
|
|
|
mouse = require("awful.mouse");
|
|
|
|
remote = require("awful.remote");
|
|
|
|
key = require("awful.key");
|
|
|
|
button = require("awful.button");
|
|
|
|
wibox = require("awful.wibox");
|
|
|
|
startup_notification = require("awful.startup_notification");
|
|
|
|
tooltip = require("awful.tooltip");
|
|
|
|
ewmh = require("awful.ewmh");
|
2012-10-23 20:32:59 +02:00
|
|
|
titlebar = require("awful.titlebar");
|
2015-09-30 00:05:56 +02:00
|
|
|
spawn = spawn;
|
2012-06-12 20:13:09 +02:00
|
|
|
}
|
2008-09-29 16:49:18 +02:00
|
|
|
|
2011-09-11 16:50:01 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|