From b5f3d5bac66cba49141644dca05426f2919419e5 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Wed, 23 Nov 2022 00:00:56 +0000 Subject: [PATCH] Update dotfiles/.local/share/chezmoi/home/private_dot_config/youtube-dl/config, dotfiles/.local/share/chezmoi/run_once_provision, dotfiles/.local/share/chezmoi/.chezmoidata.yaml --- dotfiles/.local/share/chezmoi/.chezmoidata.yaml | 3 ++- .../share/chezmoi/home/private_dot_config/youtube-dl/config | 6 ++++++ dotfiles/.local/share/chezmoi/run_once_provision | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 dotfiles/.local/share/chezmoi/home/private_dot_config/youtube-dl/config diff --git a/dotfiles/.local/share/chezmoi/.chezmoidata.yaml b/dotfiles/.local/share/chezmoi/.chezmoidata.yaml index ba300d95..5bb27558 100644 --- a/dotfiles/.local/share/chezmoi/.chezmoidata.yaml +++ b/dotfiles/.local/share/chezmoi/.chezmoidata.yaml @@ -34,7 +34,8 @@ installerMap: astronvim: _deps: - bottom - - gdu + # Conflicts with coreutils binary on macOS + # - gdu - lazygit - neovim - node diff --git a/dotfiles/.local/share/chezmoi/home/private_dot_config/youtube-dl/config b/dotfiles/.local/share/chezmoi/home/private_dot_config/youtube-dl/config new file mode 100644 index 00000000..a90376f7 --- /dev/null +++ b/dotfiles/.local/share/chezmoi/home/private_dot_config/youtube-dl/config @@ -0,0 +1,6 @@ +# saner output +-o %(title)s.%(ext)s + +# Aira2c +--external-downloader aria2c +--external-downloader-args '-c -j 6 -x 6 -s 6 -k 1M' \ No newline at end of file diff --git a/dotfiles/.local/share/chezmoi/run_once_provision b/dotfiles/.local/share/chezmoi/run_once_provision index eeb2a34d..3fe6dfc7 100644 --- a/dotfiles/.local/share/chezmoi/run_once_provision +++ b/dotfiles/.local/share/chezmoi/run_once_provision @@ -1,10 +1,12 @@ #!/usr/bin/env zx # Examples of /etc/os-release values https://gist.github.com/natefoo/814c5bf936922dad97ff +# Example fromJson with include from file https://github.com/twpayne/chezmoi/issues/1369 {{ $packageMap := (get .installerMap $packageName) }} {{ if (hasKey $packageMap "_deps") }} {{ $deps := (get $packageMap "_deps") }} -{{ }} +{{ range index $deps }} +{{ }} {{ end }} {{ if (eq .chezmoi.os "windows") }}