From f55307fd73af235069744dd5155fda0bc73fe613 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 7 Sep 2023 12:26:31 +0200 Subject: lass: migrate away --- lass/5pkgs/yt-next/default.nix | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 lass/5pkgs/yt-next/default.nix (limited to 'lass/5pkgs/yt-next/default.nix') diff --git a/lass/5pkgs/yt-next/default.nix b/lass/5pkgs/yt-next/default.nix deleted file mode 100644 index 8132b4f05..000000000 --- a/lass/5pkgs/yt-next/default.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, ... }: - -pkgs.writeScriptBin "yt-next" '' - #! ${pkgs.bash}/bin/bash - - vid=$1 - num=''${NUM:-1} - - curl -Ls $1 \ - | grep 'href="/watch?v=' \ - | head -n$num \ - | sed 's,.*href="\([^"]*\)".*,https://youtube.com\1,' -'' -- cgit v1.2.3