“killall Dock” on MAC: An EASY and QUICK FIX
Only Show Active Apps Note that the “killall Dock” segment of the command is used to restart the Dock and activate your changes. If you’re going to use this, you’ll probably want to disable Show indicators for open applications under System Preferences > Dock & Menu Bar.