mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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:
parent
226bb2cc31
commit
939453cabe
2 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue