Group directories by "personal" and "work"

This commit is contained in:
Oliver Davies 2025-04-03 20:15:04 +01:00
parent 88a3755699
commit dec432d282
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
enable = true;
systemCronJobs = [
"*/15 * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Code/email-filters/config.lua"
"*/15 * * * * opdavies ${pkgs.imapfilter}/bin/imapfilter -c ~/Code/personal/email-filters/config.lua"
"0 8,20 * * * opdavies ${pkgs.isync}/bin/mbsync -a"
];
};

View file

@ -28,7 +28,7 @@ local settings = {
signcolumn = "yes:1",
smartindent = true,
softtabstop = 2,
spellfile = "/home/opdavies/Code/dotfiles/nvim/spell/en.utf-8.add",
spellfile = "/home/opdavies/Code/personal/nixos-config/nvim/spell/en.utf-8.add",
splitbelow = true,
splitright = true,
swapfile = false,

View file

@ -9,7 +9,7 @@ index fa1bec5..4d79e0b 100755
- # If someone wants to make this extensible, i'll accept
- # PR
- selected=$(find ~/ ~/personal ~/personal/dev/env/.config -mindepth 1 -maxdepth 1 -type d | fzf)
+ selected=$(find -L "${XDG_REPOS_DIR}" "${XDG_REPOS_DIR}/os" "${XDG_DOCUMENTS_DIR}" -maxdepth 1 -mindepth 1 -type d ! -name ".*" ! -name ".old" ! -name "_archive" | sort | fzf)
+ selected=$(find -L "${XDG_REPOS_DIR}/personal" "${XDG_REPOS_DIR}/work" "${XDG_REPOS_DIR}/os" "${XDG_DOCUMENTS_DIR}" -maxdepth 1 -mindepth 1 -type d ! -name ".*" ! -name ".old" ! -name "_archive" | sort | fzf)
fi
if [[ -z $selected ]]; then