nasin/internal/util/util.go
Sasha Koshka 4fa29f2719 Fallback icon set now has general MIME icons support
Specifically, it supports all the XDG x-generic icons.
2024-08-19 03:18:37 -04:00

11 lines
284 B
Go

package util
import "git.tebibyte.media/tomo/tomo/data"
func GeneralizeXDGIconMimeType (mime data.Mime) data.Mime {
// FIXME make this more accurate
// https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
mime.Subtype = "x-generic"
return mime
}