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
|
|
|
---------------------------------------------------------------------------
|
|
|
|
|
2018-12-27 04:26:05 +01:00
|
|
|
require("awful._compat")
|
2015-09-30 00:05:56 +02:00
|
|
|
|
2019-11-18 00:46:22 +01:00
|
|
|
local deprecated = {
|
|
|
|
ewmh = true
|
|
|
|
}
|
|
|
|
|
|
|
|
local ret = {
|
2012-06-12 20:13:09 +02:00
|
|
|
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");
|
2018-12-29 02:47:06 +01:00
|
|
|
keyboard = require("awful.keyboard");
|
2012-06-12 20:13:09 +02:00
|
|
|
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");
|
2019-11-18 00:46:22 +01:00
|
|
|
permissions = require("awful.permissions");
|
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");
|
2018-12-27 04:26:05 +01:00
|
|
|
spawn = require("awful.spawn");
|
2012-06-12 20:13:09 +02:00
|
|
|
}
|
2008-09-29 16:49:18 +02:00
|
|
|
|
2019-11-18 00:46:22 +01:00
|
|
|
-- Lazy load deprecated modules to reduce the numbers of loop dependencies.
|
|
|
|
return setmetatable(ret,{
|
|
|
|
__index = function(_, key)
|
|
|
|
if deprecated[key] then
|
|
|
|
rawset(ret, key, require("awful."..key))
|
|
|
|
end
|
|
|
|
return rawget(ret, key)
|
|
|
|
end
|
|
|
|
})
|
|
|
|
|
2011-09-11 16:50:01 +02:00
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|