awesome/tests/examples/shims/_common_template.lua

22 lines
725 B
Lua
Raw Normal View History

return function(_, _)
-- Set the global shims
2016-08-12 01:55:46 +02:00
-- luacheck: globals awesome root tag screen client mouse drawin button
awesome = require( "awesome" )
root = require( "root" )
tag = require( "tag" )
screen = require( "screen" )
client = require( "client" )
mouse = require( "mouse" )
drawin = require( "drawin" )
2016-08-12 01:55:46 +02:00
button = require( "button" )
-- Force luacheck to be silent about setting those as unused globals
assert(awesome and root and tag and screen and client and mouse)
-- Silence debug warnings
require("gears.debug").print_warning = function() end
end
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80