mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Bigger logo
This commit is contained in:
parent
5dece2e366
commit
f691e95119
4 changed files with 5 additions and 4 deletions
BIN
assets/logo.png
Normal file
BIN
assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 517 KiB |
|
|
@ -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
|
||||
BIN
data/logo.png
BIN
data/logo.png
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
|
|
@ -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; {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue