aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Wilm <jwilm@users.noreply.github.com>2017-01-06 12:59:27 -0800
committerGitHub <noreply@github.com>2017-01-06 12:59:27 -0800
commita61e000f989bde05b4a26e88334c30063dc8e6cf (patch)
tree869ce688d87812af4b7e4ab38eafc558ba209714
parentf69f8b87c3ae179b81931f97d859a434fa48d098 (diff)
parent5226cfe5624290111779dd57bc6139676eded76d (diff)
downloadalacritty-a61e000f989bde05b4a26e88334c30063dc8e6cf.tar.gz
alacritty-a61e000f989bde05b4a26e88334c30063dc8e6cf.zip
Merge pull request #92 from amikhalev/add-desktop-entry
Added a freedesktop.org desktop entry and instructions for using it to README.md
-rwxr-xr-xAlacritty.desktop11
-rw-r--r--README.md10
2 files changed, 21 insertions, 0 deletions
diff --git a/Alacritty.desktop b/Alacritty.desktop
new file mode 100755
index 00000000..89242f43
--- /dev/null
+++ b/Alacritty.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+TryExec=alacritty
+Exec=alacritty
+Icon=utilities-terminal
+Terminal=false
+Catagories=System;TerminalEmulator
+
+Name=Alacritty
+GenericName=Terminal
+Comment=A cross-platform, GPU enhanced terminal emulator
diff --git a/README.md b/README.md
index 2ace57f2..8b5776e3 100644
--- a/README.md
+++ b/README.md
@@ -102,6 +102,16 @@ If all goes well, this should place a binary at `target/release/alacritty`.
many things (such as arrow keys) would not work. If you're on macOS, you'll need
to change the `monospace` font family to something like `Menlo`.
+### Desktop Entry
+
+Many linux distributions support desktop entries for adding applications to
+system menus. To install the desktop entry for Alacritty, run
+
+```sh
+sudo cp target/release/alacritty /usr/local/bin # or anywhere else in $PATH
+cp Alacritty.desktop ~/.local/share/applications
+```
+
### Configuration
Although it's possible the default configuration would work on your system,