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:
Uli Schlachter 2009-06-06 12:28:25 +02:00 committed by Julien Danjou
parent 206488ba3e
commit 4b27986680
2 changed files with 1 additions and 2 deletions

View File

@ -242,7 +242,6 @@ end
-- If not specified, 1 is assumed.
-- @return The wibox created.
function new(arg)
local screen = screen or 1
local arg = arg or {}
local position = arg.position or "top"
-- Empty position and align in arg so we are passing deprecation warning

View File

@ -261,7 +261,7 @@ function notify(args)
-- beautiful
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 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'