Adding icon.png to the .idea directory of your project will display the icon in Toolbox, the project header, and the frame-switching dialog. Lovin’ it! ;)

Добавить в gitignore

Directory-based project format:

.idea/* !.idea/icon.png

ideicon