In awesome wm I use gmrun, a small application launcher.
{ rule = { class = "Gmrun" },
properties = { floating = true, ontop = true, focus = true }, callback = function(c) c:geometry({x=30, y=45}) end},
and this is my rules for all clients section
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = awful.client.focus.filter,
raise = true,
keys = clientkeys,
size_hints_honor = false,
buttons = clientbuttons }, callback = awful.client.setslave },
I would like gmrun to always keep focus (an exception on the rule, normally the new opened client gets the focus) I 've read this page, but didn't find the solution, Always-on-top window and keeping focus, on AwesomeWM Thanks in advance