From 1357517ecf7706c453c1c2d37ce45f81f9c44ea1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 16:28:08 +0200 Subject: Improve signal-desktop confs and add element-desktop and wire-desktop confs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- element-desktop/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 element-desktop/Makefile (limited to 'element-desktop/Makefile') diff --git a/element-desktop/Makefile b/element-desktop/Makefile new file mode 100644 index 0000000..60aeb57 --- /dev/null +++ b/element-desktop/Makefile @@ -0,0 +1,19 @@ +.POSIX: + +install: + test -f ~/.var/element/ElementCrypt.img + test -f ~/.var/element/ElementCrypt.key + mkdir -p -- ~/.var/element/ElementCrypt.d + test -e ~/.config/Element || ln -s -- ../.var/element/ElementCrypt.d/Element ~/.config/Element + pacman -Qq -- asroot /dev/null + pacman -Qq -- gnupg /dev/null + pacman -Qq -- cryptsetup /dev/null + mkdir -p -- ~/.config/bash/aliases.d + test ! -d ~/.config/bash/aliases.d/element-desktop + ln -sf -- ~/.dotfiles/element-desktop/bash-aliases ~/.config/bash/aliases.d/element-desktop + +uninstall: + -unlink -- ~/.config/bash/aliases.d/element-desktop + -rmdir -- ~/.config/bash/aliases.d + +.PHONY: install uninstall -- cgit v1.2.3-70-g09d2