feat: add syncthing
This commit is contained in:
parent
d508cb5d8f
commit
bbbaafcf8e
|
@ -5,6 +5,7 @@
|
||||||
! /bin/pgrep flameshot && flameshot &
|
! /bin/pgrep flameshot && flameshot &
|
||||||
! /bin/pgrep nm-applet && nm-applet &
|
! /bin/pgrep nm-applet && nm-applet &
|
||||||
! /bin/pgrep copyq && copyq &
|
! /bin/pgrep copyq && copyq &
|
||||||
|
! /bin/pgrep syncthing && syncthing &
|
||||||
# ! /bin/pgrep -f "lua virtcam.lua" && cd ~/dotfiles/gui/virtcam && lua virtcam.lua &
|
# ! /bin/pgrep -f "lua virtcam.lua" && cd ~/dotfiles/gui/virtcam && lua virtcam.lua &
|
||||||
|
|
||||||
# input method
|
# input method
|
||||||
|
|
19
gui/syncthing.sh
Executable file
19
gui/syncthing.sh
Executable file
|
@ -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"
|
Loading…
Reference in New Issue
Block a user