Merge pull request #256775 from Anomalocaridid/xplr-desktop

xplr: add desktop file and icons

authored by

Thiago Kenji Okada and committed by
GitHub
ad3b3be9 9cd80916

+14
+14
pkgs/applications/file-managers/xplr/default.nix
··· 23 rm .cargo/config 24 ''; 25 26 meta = with lib; { 27 description = "A hackable, minimal, fast TUI file explorer"; 28 homepage = "https://xplr.dev";
··· 23 rm .cargo/config 24 ''; 25 26 + postInstall = '' 27 + mkdir -p $out/share 28 + cp assets/desktop/xplr.desktop $out/share 29 + 30 + mkdir -p $out/share/icons/hicolor/scalable/apps 31 + cp assets/icon/xplr.svg $out/share/icons/hicolor/scalable/apps 32 + 33 + for size in 16 32 64 128; do 34 + icon_dir=$out/share/icons/hicolor/''${size}x$size/apps 35 + mkdir -p $icon_dir 36 + cp assets/icon/xplr$size.png $icon_dir/xplr.png 37 + done 38 + ''; 39 + 40 meta = with lib; { 41 description = "A hackable, minimal, fast TUI file explorer"; 42 homepage = "https://xplr.dev";