dotfiles/gui/syncthing.sh
2022-09-08 21:52:08 +08:00

20 lines
317 B
Bash
Executable File

#!/bin/sh
DIR=$(dirname "$(readlink -f "$0")")
. "$DIR/../env.sh"
log 'Setting up syncthing'
case "$UNAMEA" in
*Ubuntu*)
sudo apt install -y \
syncthing
;;
*artix*)
sudo pacman -S --noconfirm --needed \
syncthing
;;
esac
echo "export LOCKER=i3lock"