diff --git a/lib/menubar/utils.lua.in b/lib/menubar/utils.lua.in index 62c570a83..9f280ecdc 100644 --- a/lib/menubar/utils.lua.in +++ b/lib/menubar/utils.lua.in @@ -154,7 +154,7 @@ function utils.parse(file) -- Only show the program if there is no OnlyShowIn attribute -- or if it's equal to utils.wm_name - if program.OnlyShowIn ~= nil and program.OnlyShowIn ~= utils.wm_name then + if program.OnlyShowIn ~= nil and not program.OnlyShowIn:match(utils.wm_name) then program.show = false end