1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Add icon to Linux .desktop file

This commit is contained in:
Kirill Chibisov 2019-04-04 21:41:57 +03:00 committed by Christian Duerr
parent 83b5474c4f
commit dbce674d70
6 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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"],

View file

@ -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
```

View file

@ -2,7 +2,7 @@
Type=Application
TryExec=alacritty
Exec=alacritty
Icon=utilities-terminal
Icon=Alacritty
Terminal=false
Categories=System;TerminalEmulator;

View file

@ -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:

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB