From ae4f707d0d79899b917b098da253476b50b8c89e Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 11 Oct 2025 11:53:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 38 ++++++++++++++++++++++---------------- eget.toml | 41 +++++++++++++++++++++++++---------------- 2 files changed, 47 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index c8119c5..f721dcd 100644 --- a/README.md +++ b/README.md @@ -16,21 +16,27 @@ curl -o ~/.eget.toml https://git.246060.ru/config/eget/raw/branch/master/eget.to # Установка программ ```sh -~/.local/bin/eget tj/git-extras -~/.local/bin/eget paulirish/git-open -~/.local/bin/eget jesseduffield/lazygit -~/.local/bin/eget jesseduffield/lazydocker -~/.local/bin/eget BurntSushi/ripgrep -~/.local/bin/eget junegunn/fzf -~/.local/bin/eget sharkdp/fd -~/.local/bin/eget sharkdp/bat -~/.local/bin/eget sharkdp/hyperfine -~/.local/bin/eget dbrgn/tealdeer -~/.local/bin/eget denisidoro/navi -~/.local/bin/eget jgm/pandoc -~/.local/bin/eget yt-dlp/yt-dlp -~/.local/bin/eget dundee/gdu -~/.local/bin/eget dandavison/delta -~/.local/bin/eget albfan/bash-ini-parser +eget tj/git-extras +eget paulirish/git-open +eget jesseduffield/lazygit +eget jesseduffield/lazydocker +eget BurntSushi/ripgrep +eget junegunn/fzf +eget sharkdp/fd +eget sharkdp/bat +eget sharkdp/hyperfine +eget dbrgn/tealdeer +eget denisidoro/navi +eget jgm/pandoc +eget yt-dlp/yt-dlp +eget dundee/gdu +eget dandavison/delta +eget albfan/bash-ini-parser ``` +Если определена переменная окружения `EGET_CONFIG`, то можно установить все +перечисленные в файле настроек программы командой: + +```sh +grep '\[".*\/.*"\]' $EGET_CONFIG | tr -d '[]"' | xargs -L 1 eget +``` diff --git a/eget.toml b/eget.toml index 3fe2389..475eb01 100644 --- a/eget.toml +++ b/eget.toml @@ -4,16 +4,33 @@ [global] quiet = false show_hash = true - target = "~/.local/bin" + target = "~/.cache/eget" + +["telegramdesktop/tdesktop"] + file = "Telegram/Telegram" + asset_filters = [ "tsetup", "tar.xz" ] + target = "~/.cache/eget/telegram" + +["badmannersteam/murglar-downloads"] + asset_filters = [ "all-platforms" ] + target = "~/.cache/eget/murglar.jar" + +["dundee/gdu"] + asset_filters = [ "gdu_linux_amd64_static" ] + target = "~/.cache/eget/gdu" + +["BtbN/FFmpeg-Builds"] + asset_filters = [ "linux64-gpl-8.0" ] + file = "ffmpeg" ["paulirish/git-open"] download_source = true -["tj/git-extras"] - tag = "6.5.0" - all = true - download_source = true - file = "tj*/bin/*" +#["tj/git-extras"] +# tag = "6.5.0" +# all = true +# download_source = true +# file = "tj*/bin/*" ["sharkdp/fd"] asset_filters = [ "linux-gnu" ] @@ -27,24 +44,16 @@ ["yt-dlp/yt-dlp"] asset_filters = [ "yt-dlp_linux" ] -["dundee/gdu"] - asset_filters = [ "gdu_linux_amd64_static" ] - target = "~/.local/bin/gdu" - ["dandavison/delta"] asset_filters = [ "unknown-linux-gnu" ] -["romkatv/zsh-bin"] - asset_filters = [ "linux-x86_64.tar.gz" ] - ["albfan/bash-ini-parser"] download_source = true ["ClementTsang/bottom"] - file = "btm" asset_filters = [ "linux-musl.tar.gz" ] + file = "btm" ["jameslittle230/stork"] - file = "stork" asset_filters = [ "stork-ubuntu-22-04" ] - + file = "stork"