diff --git a/gui/awesome/autostart b/gui/awesome/autostart index ee1d984..fc1b12c 100755 --- a/gui/awesome/autostart +++ b/gui/awesome/autostart @@ -5,6 +5,7 @@ ! /bin/pgrep flameshot && flameshot & ! /bin/pgrep nm-applet && nm-applet & ! /bin/pgrep copyq && copyq & +! /bin/pgrep syncthing && syncthing & # ! /bin/pgrep -f "lua virtcam.lua" && cd ~/dotfiles/gui/virtcam && lua virtcam.lua & # input method diff --git a/gui/syncthing.sh b/gui/syncthing.sh new file mode 100755 index 0000000..6722a98 --- /dev/null +++ b/gui/syncthing.sh @@ -0,0 +1,19 @@ +#!/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"