From 4d7e8c804e02aa05b389c973fde198e8f89be578 Mon Sep 17 00:00:00 2001 From: Jajauma Date: Thu, 12 May 2016 00:50:06 +0300 Subject: [PATCH] naughty: change action markup to emphasize clickability This commit changes the markup applied to the action description text to emphasize the fact that the action zone is actually clickable. Bold is replaced with underline, the Unicode 261B symbol (right pointer) is added as well. --- lib/naughty/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty/core.lua b/lib/naughty/core.lua index be2f46ae..24f7c960 100644 --- a/lib/naughty/core.lua +++ b/lib/naughty/core.lua @@ -543,7 +543,7 @@ function naughty.notify(args) actionmarginbox:set_widget(actiontextbox) actiontextbox:set_valign("middle") actiontextbox:set_font(font) - actiontextbox:set_markup(string.format('%s', action)) + actiontextbox:set_markup(string.format('☛ %s', action)) -- calculate the height and width local w, h = actiontextbox:get_preferred_size(s) local action_height = h + 2 * margin