2016-12-29 22:18:43 +01:00
|
|
|
-- luacheck: globals string
|
|
|
|
function string.wlen(self)
|
|
|
|
return #self
|
|
|
|
end
|
|
|
|
|
2017-01-03 14:29:10 +01:00
|
|
|
return function(_, _)
|
2016-07-09 19:03:49 +02:00
|
|
|
|
|
|
|
-- Set the global shims
|
2016-08-12 01:55:46 +02:00
|
|
|
-- luacheck: globals awesome root tag screen client mouse drawin button
|
2018-07-24 23:07:11 +02:00
|
|
|
-- luacheck: globals mousegrabber keygrabber dbus key
|
2016-12-30 07:00:20 +01:00
|
|
|
awesome = require( "awesome" )
|
|
|
|
root = require( "root" )
|
|
|
|
tag = require( "tag" )
|
|
|
|
screen = require( "screen" )
|
|
|
|
client = require( "client" )
|
|
|
|
mouse = require( "mouse" )
|
|
|
|
drawin = require( "drawin" )
|
|
|
|
button = require( "button" )
|
|
|
|
keygrabber = require( "keygrabber" )
|
|
|
|
mousegrabber = require( "mousegrabber" )
|
2017-05-15 08:24:52 +02:00
|
|
|
dbus = require( "dbus" )
|
2018-07-24 23:07:11 +02:00
|
|
|
key = require( "key" )
|
2016-07-09 19:03:49 +02:00
|
|
|
|
|
|
|
-- 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
|
2019-08-07 07:48:06 +02:00
|
|
|
|
|
|
|
-- Revert the background widget to something compatible with Cairo SVG
|
|
|
|
-- backend.
|
|
|
|
local bg = require("wibox.container.background")
|
|
|
|
bg._use_fallback_algorithm()
|
2016-07-09 19:03:49 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|