Fix luacheck warnings in the logo-tests

Ever since these files were added, these problems existed. I have no
idea what alt_fg is supposed to mean, but since a value of nil is
apparently ok, I just pass in nil directly.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-12-18 18:59:58 +01:00
parent 226bb2cc31
commit 939453cabe
2 changed files with 1 additions and 9 deletions

View File

@ -1,10 +1,6 @@
local parent = ... --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE
local beautiful = require( "beautiful" ) --DOC_HIDE
local assets = require( "xresources.assets" ) --DOC_HIDE
local color = require( "gears.color" ) --DOC_HIDE
local size = 128 --DOC_HIDE
parent:add( --DOC_HIDE

View File

@ -1,10 +1,6 @@
local parent = ... --DOC_HIDE
local wibox = require( "wibox" ) --DOC_HIDE
local beautiful = require( "beautiful" ) --DOC_HIDE
local assets = require( "xresources.assets" ) --DOC_HIDE
local color = require( "gears.color" ) --DOC_HIDE
local size = 128 --DOC_HIDE
parent:add( --DOC_HIDE
@ -13,7 +9,7 @@ wibox.widget {
draw = function(_, _, cr)
assets.gen_logo(cr, 128, 128, nil, "#535d6c")
cr:translate(128 + 128/16, 0)
assets.gen_awesome_name(cr, 158, nil, "#535d6c", alt_fg)
assets.gen_awesome_name(cr, 158, nil, "#535d6c", nil)
end,
widget = wibox.widget.base.make_widget
}