Fixed the missing debuginfo and confilict markers

This commit is contained in:
Quan Guo 2015-11-06 08:08:26 +01:00
parent 01955c45aa
commit eeb0c7bd5d
2 changed files with 12 additions and 12 deletions

View File

@ -79,8 +79,7 @@ is_excluded=true})`.
awful.key({ modkey, }, "Left", awful.tag.viewprev ),
awful.key({ modkey, }, "Right", awful.tag.viewnext ),
awful.key({ modkey, }, "Escape", awful.tag.history.restore),
==> awful.key({ modkey, }, "e", revelation),
awful.key({ modkey, }, "e", revelation),
awful.key({ modkey, }, "j",
function ()
awful.client.focus.byidx( 1)

View File

@ -77,6 +77,17 @@ local revelation = {
}
local function debuginfo(message)
mm = message
if not message then
mm = "No information avaiable"
end
nid = naughty.notify({ text = tostring(mm), timeout = 10 })
end
-- Executed when user selects a client from expose view.
--
-- @param restore Function to reset the current tags view.
@ -493,16 +504,6 @@ end
local function debuginfo( message )
mm = message
if not message then
mm = "false"
end
nid = naughty.notify({ text = tostring(mm), timeout = 10 })
end
setmetatable(revelation, { __call = function(_, ...) return revelation.expose(...) end })
return revelation