Disabling currently opened files/apps from Dock
How do I prevent Mac from showing my currently opened files and apps from Dock (see attached picture). When I have like six Word files, ten excel files and ten other programs open, the dock is full of stuff I don't want to see. What to do? The only thing I want to see is the trash bin.
MacBook Air 13″, macOS 10.13