massive rewrite using flake-parts
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
10
pkgs/customscripts/src/compmusic
Normal file
10
pkgs/customscripts/src/compmusic
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p flac
|
||||
if [ $1 == "flac" ]; then
|
||||
for x in *.flac; do
|
||||
flac "$x" --compression-level-8 -o "bruh.$x"
|
||||
mv "bruh.$x" "$x"
|
||||
done
|
||||
else
|
||||
echo "bruh"
|
||||
fi
|
||||
Reference in New Issue
Block a user