File manager setup

All file see same style that is txt file but all file not txt . Now How do setup that any file show own their file logo.

The (icon) theme of your desktop defines how icons look like, and the default Adwaita theme considers .py a text file (which it is) and gives it the text icon.

You can install other icon themes that do this differently, for example Ubuntu’s yaru theme or the papirus-icon-theme. See also: Nautilus file icons for programmers (please recommend)

You can find a lot of icon themes packages for Fedora: *icon-theme - Fedora Packages*

Run dnf search icon-theme from command line to get the full list.