[awesomerc] Fix mplayer matching
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
97956822ee
commit
ab12599eba
|
@ -173,7 +173,7 @@ end
|
|||
function hook_newclient(c)
|
||||
c:focus_set()
|
||||
local name = c:name_get()
|
||||
if name:find("mplayer") then
|
||||
if name:lower():find("mplayer") then
|
||||
c:floating_set(true)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue