radical/tooltip.lua

14 lines
510 B
Lua
Raw Permalink Normal View History

-- This is a shim module to use the new `awful.tooltip` instead of Radical
-- old implementation. Most features have been merged upstream and it is
-- no longer necessary to keep a Radical version of this.
--
-- Also, this forces me to finish awful.tooltip instead of using my own.
2013-12-31 06:01:02 +01:00
local tooltip = require("awful.tooltip")
2013-12-31 06:01:02 +01:00
return function(parent, text, args)
return tooltip{markup="<b>"..text.."</b>", objects = {parent}, mode = "outside"}
2013-12-31 06:01:02 +01:00
end
-- kate: space-indent on; indent-width 4; replace-tabs on;