diff --git a/Makefile b/Makefile index a72c9c4..d4a4d34 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,7 @@ COMPLETE_LIVE_LATE_CMDS=$(MINIMAL_LIVE_LATE_CMDS),$\ chrome-remote-desktop,$\ dotnet,$\ earth-pro,$\ + element,$\ gists,$\ golang,$\ google-chrome,$\ diff --git a/late-cmds/element b/late-cmds/element new file mode 100644 index 0000000..64be08b --- /dev/null +++ b/late-cmds/element @@ -0,0 +1 @@ +install-element.sh diff --git a/scripts/install-element.sh b/scripts/install-element.sh new file mode 100755 index 0000000..0c1405d --- /dev/null +++ b/scripts/install-element.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -e +# from https://element.io/download#linux + +sudo apt-get install -y wget apt-transport-https +sudo wget -O /usr/share/keyrings/element-io-archive-keyring.gpg \ + https://packages.element.io/debian/element-io-archive-keyring.gpg +echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] \ +https://packages.element.io/debian/ default main" \ +| sudo tee /etc/apt/sources.list.d/element-io.list +sudo apt-get update +sudo apt-get install -y element-desktop + + +