Fixed some of my scripts

This commit is contained in:
Emmet 2023-05-29 18:32:11 -05:00
parent 70e4737360
commit e35706587b

View file

@ -1,14 +1,17 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
myYtpScript = '' myYtpScript = ''
ytsub --video-player /usr/bin/mpv #!/bin/sh
ytsub --video-player mpv
''; '';
myYtaScript = '' myYtaScript = ''
#!/bin/sh
yt-dlp -x --audio-format mp3 $1 yt-dlp -x --audio-format mp3 $1
''; '';
myYtdScript = '' myYtdScript = ''
#!/bin/sh
pushd ~/Media/Podcasts; pushd ~/Media/Podcasts;
ytsub --video-player yta; ytsub --video-player ~/.nix-profile/bin/yta;
popd; popd;
''; '';
in in