mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
Fixed some of my scripts
This commit is contained in:
parent
70e4737360
commit
e35706587b
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue