summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <wchibisovkirill@gmail.com>2019-04-04 21:41:57 +0300
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-04-04 18:41:57 +0000
commitdbce674d7012fe09b3ab9ac0aeeb1c748bb7afce (patch)
treebbf20177d4d192fe4f285dbc9ff1558255890e68
parent83b5474c4f206db54c81246fb4c64e2222d0812e (diff)
downloadalacritty-dbce674d7012fe09b3ab9ac0aeeb1c748bb7afce.tar.gz
alacritty-dbce674d7012fe09b3ab9ac0aeeb1c748bb7afce.zip
Add icon to Linux .desktop file
-rw-r--r--CHANGELOG.md5
-rw-r--r--Cargo.toml1
-rw-r--r--INSTALL.md1
-rw-r--r--extra/linux/alacritty.desktop2
-rw-r--r--extra/linux/snap/snapcraft.yaml1
-rw-r--r--extra/logo/alacritty-simple.svg (renamed from extra/logo/alacritty.svg)0
6 files changed, 9 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5d31522e..a21d4a6a 100644
--- 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
index dccbf2ac..270d0d43 100644
--- 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
index edfb980b..f4295731 100644
--- 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
index 8f9be053..5cfd3913 100644
--- 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
index 47f6f678..07f4929b 100644
--- 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
index 1896902e..1896902e 100644
--- a/extra/logo/alacritty.svg
+++ b/extra/logo/alacritty-simple.svg