Change sudo to doas and update setup

This commit is contained in:
2021-07-16 16:54:09 +01:00
parent f4b28de956
commit 8541b1e861
9 changed files with 27 additions and 26 deletions

View File

@@ -6,25 +6,25 @@ TOWERPW=$(echo "$TOWER" | grep -Po "(?<=pass : ).+(?=\")")
path="https://tower.scarif.space/remote.php/dav/files/chris/Joplin"
joplin config sync.target 5
joplin config sync.5.path "$path"
joplin config sync.5.username "$TOWERUN"
joplin config sync.5.password "$TOWERPW"
joplin sync
# joplin config sync.target 5
# joplin config sync.5.path "$path"
# joplin config sync.5.username "$TOWERUN"
# joplin config sync.5.password "$TOWERPW"
# joplin sync
# echo "$path" | xclip -selection clipboard -i
echo "$path" | xclip -selection clipboard -i
# joplin-desktop &
joplin-desktop &
# clipnotify
clipnotify
# echo "$TOWERUN" | xclip -selection clipboard -i
echo "$TOWERUN" | xclip -selection clipboard -i
# clipnotify
clipnotify
# echo "$TOWERPW" | xclip -selection clipboard -i
echo "$TOWERPW" | xclip -selection clipboard -i
# read -n 1 -r -s -p $'Press enter when you have synced Joplin...\n'
read -n 1 -r -s -p $'Press enter when you have synced Joplin...\n'
# echo "" | xclip -selection clipboard -i
echo "" | xclip -selection clipboard -i