Combine scripts and custom packages
All checks were successful
/ check (push) Successful in 1m40s

This commit is contained in:
Oliver Davies 2025-07-10 22:50:41 +01:00
parent 7780eca7a9
commit 5341b761ad
15 changed files with 29 additions and 38 deletions

View file

@ -0,0 +1,15 @@
{ pkgs }:
pkgs.writeShellApplication {
name = "move-firefox-screenshots";
runtimeInputs = with pkgs; [ findutils ];
text = ''
original_directory="''${HOME}/Downloads"
new_directory="''${HOME}/Pictures/Screenshots"
find "''${original_directory}" -mindepth 1 -maxdepth 1 -type f -name "Screenshot *" \
-exec mv {} "''${new_directory}" \;
'';
}