Minor fixes
Remove an unused var and fix a reference to capi.awesome Signed-off-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
206488ba3e
commit
4b27986680
|
@ -242,7 +242,6 @@ end
|
||||||
-- If not specified, 1 is assumed.
|
-- If not specified, 1 is assumed.
|
||||||
-- @return The wibox created.
|
-- @return The wibox created.
|
||||||
function new(arg)
|
function new(arg)
|
||||||
local screen = screen or 1
|
|
||||||
local arg = arg or {}
|
local arg = arg or {}
|
||||||
local position = arg.position or "top"
|
local position = arg.position or "top"
|
||||||
-- Empty position and align in arg so we are passing deprecation warning
|
-- Empty position and align in arg so we are passing deprecation warning
|
||||||
|
|
|
@ -261,7 +261,7 @@ function notify(args)
|
||||||
|
|
||||||
-- beautiful
|
-- beautiful
|
||||||
local beautiful = bt.get()
|
local beautiful = bt.get()
|
||||||
local font = args.font or preset.font or beautiful.font or awesome.font
|
local font = args.font or preset.font or beautiful.font or capi.awesome.font
|
||||||
local fg = args.fg or preset.fg or beautiful.fg_normal or '#ffffff'
|
local fg = args.fg or preset.fg or beautiful.fg_normal or '#ffffff'
|
||||||
local bg = args.bg or preset.bg or beautiful.bg_normal or '#535d6c'
|
local bg = args.bg or preset.bg or beautiful.bg_normal or '#535d6c'
|
||||||
local border_color = args.border_color or preset.border_color or beautiful.bg_focus or '#535d6c'
|
local border_color = args.border_color or preset.border_color or beautiful.bg_focus or '#535d6c'
|
||||||
|
|
Loading…
Reference in New Issue