From c3c5f67b1a7182e9102e957edc0be1c26ab2c28b Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 9 Jan 2025 21:00:40 +0100 Subject: [PATCH] Add alias to download YouTube .mp3's --- home-manager/common/software/cli/fish.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/common/software/cli/fish.nix b/home-manager/common/software/cli/fish.nix index 31be2dcc..a9855fde 100644 --- a/home-manager/common/software/cli/fish.nix +++ b/home-manager/common/software/cli/fish.nix @@ -146,6 +146,7 @@ prime-select = "nvidia-offload"; screenshot = ''grim -g "$(slurp)" | wl-copy -t image/png''; + yt-mp3 = ''yt-dlp -x --audio-format mp3 --audio-quality 0 -P "/Storage/Media/Music/YouTube/_STAGING/"''; # Don't use X to open emacs emacs = "emacs -nw";