[scripts] added obsidian vaults to tms

This commit is contained in:
Afonso Franco 2024-10-20 01:41:22 +01:00
parent 2cecc71890
commit 3b7a395c35
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

View file

@ -6,10 +6,11 @@ else
uni_projects=$(find ~/projects/University -mindepth 3 -maxdepth 3 -type d)
personal_projects=$(find ~/projects/Personal -mindepth 1 -maxdepth 1 -type d)
work_projects=$(find ~/projects/Work -mindepth 1 -maxdepth 1 -type d)
vaults=$(find ~/vaults/ -mindepth 2 -maxdepth 2 -type d)
gits=$(find ~/gits -mindepth 1 -maxdepth 1 -type d)
dotfiles=$(find ~/.config -mindepth 1 -maxdepth 1 -type d)
#Merge the two lists
selected=$(echo -e "$uni_projects\n$personal_projects\n$work_projects\n$dotfiles\n$gits" | fzf)
selected=$(echo -e "$uni_projects\n$personal_projects\n$work_projects\n$dotfiles\n$gits\n$vaults" | fzf)
fi
if [[ -z $selected ]]; then