diff --git a/home-manager/home.nix b/home-manager/home.nix index 23abfb4..ef4591f 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -61,6 +61,7 @@ starsector # Nice little game I got coaxed into trying inputs.hb-downloader.packages.${pkgs.system}.default # My custom humble bundle bulk link extractor for aria2 list format protonup-qt # Proton ge manager + protontricks # Tricks ungoogled-chromium # For sites that don't work with firefox based browsers abcde # CLI audio ripper jellyfin-mpv-shim # Jellyfin media with mpv diff --git a/home-manager/modules/scripts/cue2chd b/home-manager/modules/scripts/cue2chd new file mode 100755 index 0000000..14450f5 --- /dev/null +++ b/home-manager/modules/scripts/cue2chd @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +for File in *.cue +do + [ -f "$File" ] || continue + chdman createcd -i "$File" -o "${File%.cue}.chd" + rm -v "$File" "${File%.cue}.bin" +done diff --git a/home-manager/modules/scripts/iso2chd b/home-manager/modules/scripts/iso2chd new file mode 100755 index 0000000..5acb45e --- /dev/null +++ b/home-manager/modules/scripts/iso2chd @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +for File in *.iso +do + [ -f "$File" ] || continue + chdman createcd -i "$File" -o "${File%.iso}.chd" + rm -v "$File" +done