diff options
Diffstat (limited to 'extra/linux')
-rw-r--r-- | extra/linux/alacritty.desktop | 17 | ||||
-rw-r--r-- | extra/linux/debian/postinst | 3 | ||||
-rw-r--r-- | extra/linux/debian/prerm | 3 | ||||
-rw-r--r-- | extra/linux/snap/snapcraft.yaml | 31 |
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 |