From 7cbc50fd2ff004d8a4e88afa042f6af2f8632fc0 Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Fri, 6 Jan 2017 13:05:55 -0700 Subject: [PATCH 1/2] Added Alacritty.desktop file and instructions to README.md --- Alacritty.desktop | 11 +++++++++++ README.md | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100755 Alacritty.desktop 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 bfde89d5..c4b07c57 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,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, From 5226cfe5624290111779dd57bc6139676eded76d Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Fri, 6 Jan 2017 13:07:15 -0700 Subject: [PATCH 2/2] Reduced Desktop Entries heading size --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c4b07c57..e0d1a328 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ 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 +### Desktop Entry Many linux distributions support desktop entries for adding applications to system menus. To install the desktop entry for Alacritty, run