This is just a small hack to make your macOS Dock more organized and clean. With the following terminal command you can get an app icon in your dock without an app icon:
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' killall Dock
![](https://tech.camefrom.space/wp-content/uploads/2021/10/macos-dock-with-blank-spaces-1.jpg)
After that you can move the empty icon as it fits best.