Add some more to setup

This commit is contained in:
2021-06-10 22:53:56 +01:00
parent ec0ec5c267
commit 1ef3b31bde
9 changed files with 73 additions and 10 deletions

View File

@@ -1,7 +1,27 @@
#! /bin/bash
#! /usr/bin/zsh
TOWER=$(enpasscli -vault="$HOME/Documents/Enpass/Vaults/primary" -sort show "Scarif: Tower" 2>&1)
TOWERUN=$(echo "$TOWER" | grep -Po "(?<=login: )\w+")
TOWERPW=$(echo "$TOWER" | grep -Po "(?<=pass : ).+(?=\")")
nextcloud
echo "https://tower.scarif.space" | xclip -selection clipboard -i
mkdir -p "$HOME/Tower"
nextcloud &
dwmc toggleview 32
clipnotify
echo "$TOWERUN" | xclip -selection clipboard -i
clipnotify
echo "$TOWERPW" | xclip -selection clipboard -i
read -s -k $'?Press enter when you have synced Nextcloud... \n'
echo "" | xclip -selection clipboard -i
dwmc toggleview 0