Change DOCUMENTS to XDG_DOCUMENTS_DIR

This commit is contained in:
Oliver Davies 2025-03-17 20:05:16 +00:00
parent 92d3b2946a
commit 0188b564a5
2 changed files with 2 additions and 2 deletions
nix/lib/shared/scripts

View file

@ -25,7 +25,7 @@
exit 1
fi
output_file="''${DOCUMENTS}/videos.json"
output_file="$XDG_DOCUMENTS_DIR/videos.json"
${pkgs.tree}/bin/tree -J "$source_path/Videos" | ${pkgs.jq}/bin/jq . > "$output_file"
${pkgs.jq}/bin/jq . < "$output_file"