From a4a700c8a424f2e2467517096182a3a3aaa9b43c Mon Sep 17 00:00:00 2001 From: blueingreen68 Date: Mon, 22 Jan 2024 13:33:26 +0500 Subject: unarchived --- library/cloneDotfiles.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 library/cloneDotfiles.sh (limited to 'library/cloneDotfiles.sh') 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 -- cgit