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
|
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")
|
2017-03-15 06:08:40 +01:00
|
|
|
local gdebug = require("gears.debug")
|
2016-02-07 15:02:25 +01:00
|
|
|
function timer(...) -- luacheck: ignore
|
2017-03-15 06:08:40 +01:00
|
|
|
gdebug.deprecate("gears.timer", {deprecated_in=4})
|
2014-12-07 09:44:58 +01:00
|
|
|
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(...)
|
2017-03-15 06:08:40 +01:00
|
|
|
gdebug.deprecate("awful.spawn", {deprecated_in=4})
|
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(...)
|
2017-03-15 06:08:40 +01:00
|
|
|
gdebug.deprecate("awful.spawn.with_shell", {deprecated_in=4})
|
2015-10-10 20:26:07 +02:00
|
|
|
return spawn.with_shell(...)
|
|
|
|
end
|
|
|
|
|
2016-07-09 12:04:42 +02:00
|
|
|
util.pread = function()
|
2019-02-27 10:26:16 +01:00
|
|
|
gdebug.deprecate("Use awful.spawn.easy_async() "
|
2017-03-15 06:08:40 +01:00
|
|
|
.. "for an asynchronous alternative", {deprecated_in=4})
|
2016-07-17 15:29:15 +02:00
|
|
|
return ""
|
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");
|
2016-05-08 08:10:35 +02:00
|
|
|
wibar = require("awful.wibar");
|
2012-06-12 20:13:09 +02:00
|
|
|
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");
|
2016-04-17 11:30:34 +02:00
|
|
|
rules = require("awful.rules");
|
2016-02-21 08:31:31 +01:00
|
|
|
popup = require("awful.popup");
|
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
|