2016-12-26 03:52:39 +01:00
|
|
|
-- 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
|
|
|
|
2016-12-26 03:52:39 +01:00
|
|
|
local tooltip = require("awful.tooltip")
|
2013-12-31 06:01:02 +01:00
|
|
|
|
2016-12-26 03:52:39 +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
|
|
|
|
|
2016-12-26 03:52:39 +01:00
|
|
|
-- kate: space-indent on; indent-width 4; replace-tabs on;
|