Dock widget - Only show apps with badge count

I would like to have an option in the dock widget to only show the apps with badge count as my dock is automatically hidden and I don't check it regularly. I prefer to not having to manually add icon for each app like the existing presets do.