diff options
| author | 2024-01-22 13:33:26 +0500 | |
|---|---|---|
| committer | 2024-01-22 13:33:26 +0500 | |
| commit | a4a700c8a424f2e2467517096182a3a3aaa9b43c (patch) | |
| tree | 1034913d586d589c2f9fb6a837473254660f7007 /library/cloneDotfiles.sh | |
| parent | 94aa4680567708b8c0c555a728552b1d8c7bd57a (diff) | |
unarchived
Diffstat (limited to 'library/cloneDotfiles.sh')
| -rwxr-xr-x | library/cloneDotfiles.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/library/cloneDotfiles.sh b/library/cloneDotfiles.sh deleted file mode 100755 index 2589c58..0000000 --- a/library/cloneDotfiles.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -getKdbxFile () { - read -r passwordFileLink < <(yadisk-direct https://yadi.sk/d/o4TMFnHFobxTsw) - - wget "$passwordFileLink" -O "$dirArchIsoFiles"/Passwords.kdbx -} - -openKeepass () { - setStatusE true - - keepassxc-cli clip "$dirArchIsoFiles"/Passwords.kdbx github 0 -a token-cli -} - -cloneDotfiles () { - getKdbxFile - - while : - do - openKeepass - - if [ $? -eq 0 ]; then - setStatusE false - echo -e "Пароль скопирован!\n" - break - fi - done - - cd - git clone https://blueingreen68@github.com/blueingreen68/.dotfiles - wl-copy -c -} - -cloneDotfiles |
