alacritty

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit dbce674d7012fe09b3ab9ac0aeeb1c748bb7afce
parent 83b5474c4f206db54c81246fb4c64e2222d0812e
Author: Kirill Chibisov <wchibisovkirill@gmail.com>
Date:   Thu,  4 Apr 2019 21:41:57 +0300

Add icon to Linux .desktop file


Diffstat:
MCHANGELOG.md | 5+++++
MCargo.toml | 1+
MINSTALL.md | 1+
Mextra/linux/alacritty.desktop | 2+-
Mextra/linux/snap/snapcraft.yaml | 1+
Rextra/logo/alacritty.svg -> extra/logo/alacritty-simple.svg | 0
6 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Packaging + +- On Linux, the .desktop file now uses `Alacritty` as icon name, which can be + found at `extra/logo/alacritty-term.svg` + ### Added - MSI installer for Windows is now available diff --git a/Cargo.toml b/Cargo.toml @@ -106,6 +106,7 @@ priority = "optional" assets = [ ["target/release/alacritty", "usr/bin/", "755"], ["extra/linux/alacritty.desktop", "usr/share/applications/", "644"], + ["extra/logo/alacritty-term.svg", "usr/share/pixmaps/Alacritty.svg", "644"], ["extra/completions/alacritty.bash", "usr/share/bash-completion/completions/alacritty", "644"], ["extra/completions/alacritty.fish", "usr/share/fish/completions/alacritty.fish", "644"], ["extra/completions/_alacritty", "usr/share/zsh/vendor-completions/_alacritty", "644"], diff --git a/INSTALL.md b/INSTALL.md @@ -194,6 +194,7 @@ system menus. To install the desktop entry for Alacritty, run ```sh sudo cp target/release/alacritty /usr/local/bin # or anywhere else in $PATH +sudo cp extra/logo/alacritty-term.svg /usr/share/pixmaps/Alacritty.svg sudo desktop-file-install extra/linux/alacritty.desktop sudo update-desktop-database ``` diff --git a/extra/linux/alacritty.desktop b/extra/linux/alacritty.desktop @@ -2,7 +2,7 @@ Type=Application TryExec=alacritty Exec=alacritty -Icon=utilities-terminal +Icon=Alacritty Terminal=false Categories=System;TerminalEmulator; diff --git a/extra/linux/snap/snapcraft.yaml b/extra/linux/snap/snapcraft.yaml @@ -12,6 +12,7 @@ description: | The software is considered to be at a **beta** level of readiness -- there are a few missing features and bugs to be fixed, but it is already used by many as a daily driver. +icon: extra/logo/alacritty-term.svg grade: stable confinement: classic parts: diff --git a/extra/logo/alacritty.svg b/extra/logo/alacritty-simple.svg