Bigger logo

This commit is contained in:
sxyazi 2024-01-18 00:39:45 +08:00
parent 5dece2e366
commit f691e95119
No known key found for this signature in database
4 changed files with 5 additions and 4 deletions

BIN
assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 KiB

View file

@ -6,5 +6,6 @@ Terminal=true
TryExec=yazi
Exec=yazi %u
Type=Application
Categories=Utility;Core;FileManager
MimeType=inode/directory
Categories=Utility;Core;System;FileTools;FileManager;ConsoleOnly
Keywords=File;Manager;Explorer;Browser;Launcher

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

View file

@ -64,14 +64,14 @@
--fish ./yazi-config/completions/yazi.fish \
--zsh ./yazi-config/completions/_yazi
# resize logo
# Resize logo
for RES in 16 24 32 48 64 128 256; do
mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps
convert data/logo.png -resize "$RES"x"$RES" $out/share/icons/hicolor/"$RES"x"$RES"/apps/yazi.png
convert assets/logo.png -resize "$RES"x"$RES" $out/share/icons/hicolor/"$RES"x"$RES"/apps/yazi.png
done
mkdir -p $out/share/applications
install -m644 data/yazi.desktop $out/share/applications/
install -m644 assets/yazi.desktop $out/share/applications/
'';
meta = with lib; {