yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.51k stars 203 forks source link

Yi svg icon #1132

Open mfourne opened 1 year ago

mfourne commented 1 year ago
    _apologies if this is off topic_

@mfourne

https://packages.debian.org/bullseye/amd64/yi/filelist

https://github.com/yi-editor/yi-editor.github.com/blob/master/images/yi-lambda-fat.svg

You might add the above .svg to /usr/share/yi/art/ and modify the Icon= value accordingly in the .desktop files. The yi+lambda-fat-32.xpm file renders a bit grainy; though I would not recommend removing the two .xpm files from the .deb packages. In the below screenshot (Debian 11.1) the first Yi icon is the .xpm and the second Yi icon is the .svg.

activities

Originally posted by @spaette in https://github.com/yi-editor/yi/issues/1114#issuecomment-1293688696

spaette commented 1 year ago
$ ls -R yi/yi-frontend-pango | grep svg
yi+lambda-fat.svg
yi+lambda.svg
$ 

The yi+lambda-fat.svg file is identical to the yi-lambda-fat.svg file found in the yi-editor.github.com repository.

Perhaps on behalf of packagers a top level contrib directory might be created including .desktop, .svg and .xpm files.

I did some work on the JuliaLang/julia (GitHub) repository's contrib directory; ui improvements (#47390) [Closed].

low priority

I'll leave it to the Maintainers to consider the appropriateness of one or more yi (colocated) *.appdata.xml files.

$ ls -R /usr/share/appdata | grep julia
julia.appdata.xml
$ ls -R /usr/share/metainfo | grep emacs
emacs.appdata.xml
$ 

Julia's .appdata.xml file is in a different location than emacs' .appdata.xml file.