diff --git a/configs/programs/fish.nix b/configs/programs/fish.nix index 8d4fb6a..a9ddaae 100644 --- a/configs/programs/fish.nix +++ b/configs/programs/fish.nix @@ -32,6 +32,7 @@ pkgs: { "backup" = "eval (pass backblaze/backup-bucket) && restic -r s3:s3.us-west-000.backblazeb2.com/ember-restic-backups/(hostname | sed \"s/\\(.\\)/\\u\\1/\") -p (pass backups | psub) backup ~/ --exclude-caches --exclude-file=${import ./restic.nix}"; "diary" = "bwrap --bind ~/Diary/gate/ / --bind ~/Diary/store /store --ro-bind /nix /nix --bind /run /run -- (whereis -b restic | cut -c 9-) -r /store -p (pass diary | psub) backup -H 'diary' -e /nix -e /run -e /store -e /home /"; "dl" = "wget (kitty +kitten clipboard --get-clipboard)"; + yt = "yt-dlp -o '%(release_date>%Y-%m-%d,upload_date>%Y-%m-%d|???)s.%(title)s.%(ext)s' -f bestvideo+bestaudio --embed-subs --embed-thumbnail --embed-metadata --embed-chapters --embed-info-json (kitten clipboard -g)"; }; shellInit = '' set fish_color_command magenta