summaryrefslogtreecommitdiff
path: root/extra/linux
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-04-01 22:41:20 +0000
committerGitHub <noreply@github.com>2019-04-01 22:41:20 +0000
commit6f4d1afcf88e275f4a6b8c73cfc904e3833d0dd0 (patch)
treebd2c870aea77c683e0725a59d1c8ce1f817dba7d /extra/linux
parent5523f64c6f939ced94d55c569f592320442e8eb9 (diff)
downloadalacritty-6f4d1afcf88e275f4a6b8c73cfc904e3833d0dd0.tar.gz
alacritty-6f4d1afcf88e275f4a6b8c73cfc904e3833d0dd0.zip
Add official logov0.3.0-rc2
Diffstat (limited to 'extra/linux')
-rw-r--r--extra/linux/alacritty.desktop17
-rw-r--r--extra/linux/debian/postinst3
-rw-r--r--extra/linux/debian/prerm3
-rw-r--r--extra/linux/snap/snapcraft.yaml31
4 files changed, 54 insertions, 0 deletions
diff --git a/extra/linux/alacritty.desktop b/extra/linux/alacritty.desktop
new file mode 100644
index 00000000..8f9be053
--- /dev/null
+++ b/extra/linux/alacritty.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Type=Application
+TryExec=alacritty
+Exec=alacritty
+Icon=utilities-terminal
+Terminal=false
+Categories=System;TerminalEmulator;
+
+Name=Alacritty
+GenericName=Terminal
+Comment=A cross-platform, GPU enhanced terminal emulator
+StartupWMClass=Alacritty
+Actions=New;
+
+[Desktop Action New]
+Name=New Terminal
+Exec=alacritty
diff --git a/extra/linux/debian/postinst b/extra/linux/debian/postinst
new file mode 100644
index 00000000..55a6032d
--- /dev/null
+++ b/extra/linux/debian/postinst
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 20
diff --git a/extra/linux/debian/prerm b/extra/linux/debian/prerm
new file mode 100644
index 00000000..61427c04
--- /dev/null
+++ b/extra/linux/debian/prerm
@@ -0,0 +1,3 @@
+#!/bin/sh -e
+
+update-alternatives --remove x-terminal-emulator /usr/bin/alacritty
diff --git a/extra/linux/snap/snapcraft.yaml b/extra/linux/snap/snapcraft.yaml
new file mode 100644
index 00000000..47f6f678
--- /dev/null
+++ b/extra/linux/snap/snapcraft.yaml
@@ -0,0 +1,31 @@
+name: alacritty
+version: '0.2.9' # just for humans, typically '1.2+git' or '1.3.2'
+summary: Modern, GPU accelerated terminal emulator
+description: |
+ Alacritty is a terminal emulator with a strong focus on simplicity and
+ performance. With such a strong focus on performance, included features are
+ carefully considered and you can always expect Alacritty to be blazingly fast.
+ By making sane choices for defaults, Alacritty requires no additional setup.
+ However, it does allow [configuration](#configuration) of many aspects of the
+ terminal.
+
+ 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.
+grade: stable
+confinement: classic
+parts:
+ alacritty:
+ plugin: rust
+ source: .
+ stage-packages: [xclip]
+ build-packages: [libfreetype6-dev, libfontconfig1-dev, cmake]
+ desktop:
+ plugin: dump
+ source: .
+ stage:
+ - alacritty.desktop
+apps:
+ alacritty:
+ command: env XDG_RUNTIME_DIR= XDG_CONFIG_HOME=$SNAP_USER_DATA XDG_DATA_DIRS=$SNAP_DATA PATH=$SNAP/bin:$PATH SNAP= alacritty
+ desktop: alacritty.desktop