diff options
| author | 2023-12-25 19:16:00 +0000 | |
|---|---|---|
| committer | 2023-12-25 19:16:00 +0000 | |
| commit | 41d40d6c18b6ffaf5132dbc67500214bc6d6d12b (patch) | |
| tree | fa4b9bf3a748736b5584de07eb43e4d160a12058 /library/cloneDotfiles.sh | |
| parent | 6f73cd0b943244cfc2c4c57bb3402b9be857deff (diff) | |
update install.sh
Diffstat (limited to 'library/cloneDotfiles.sh')
| -rwxr-xr-x | library/cloneDotfiles.sh | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/library/cloneDotfiles.sh b/library/cloneDotfiles.sh new file mode 100755 index 0000000..c18712c --- /dev/null +++ b/library/cloneDotfiles.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +openKeepass () { + + wget https://yadi.sk/d/o4TMFnHFobxTsw -O "$dirArchIsoFiles"/Passwords.kdbx + + setStatusE true + + keepassxc-cli clip "$dirArchIsoFiles"/Passwords.kdbx github 0 -a token-cli + +} + +cloneDotfiles () { + + while : + do openKeepass + + if [ $? -eq 0 ]; then + setStatusE false + break + fi + + echo -e "Пароль скопирован!\n" + done + + cd + git clone https://blueingreen68@github.com/blueingreen68/.dotfiles + wl-copy -c + +} + +cloneDotfiles |
