docker image broken till PR merged in eget

This commit is contained in:
Daylin Morgan 2022-12-13 13:18:51 -06:00
parent ff1bdf9c18
commit 04ae830fd1
3 changed files with 71 additions and 4 deletions

View file

@ -6,18 +6,20 @@
# #
export PATH="$PATH:/home/daylin/bin:/home/daylin/.dotfiles/bin" export PATH="$PATH:/home/daylin/bin:/home/daylin/.dotfiles/bin"
export EGET_BIN=/home/$USER/bin export EGET_BIN=/home/$USER/bin
export EGET_CONFIG=/home/$USER/.config/eget/eget.toml
export DOTFILES_DIR=/home/$USER/.dotfiles export DOTFILES_DIR=/home/$USER/.dotfiles
curl https://zyedidia.github.io/eget.sh | sh && mv ./eget ./bin/eget curl https://zyedidia.github.io/eget.sh | sh && mv ./eget ./bin/eget
eget Tomwright/dasel --asset dasel_linux_amd64
tools $(cat "$DOTFILES_DIR/docker/tools.txt") aweget $(awk '{printf "-i %s ", $0}' "$DOTFILES_DIR/docker/tools.txt")
# eget rossmacarthur/sheldon # eget rossmacarthur/sheldon
eget tree-sitter/tree-sitter eget tree-sitter/tree-sitter
# installing nvim # installing nvim
eget neovim/neovim --to ./nvim.appimage --pre-release eget neovim/neovim --to ./nvim.appimage --pre-release
./nvim.appimage --appimage-extract ./nvim.appimage --appimage-extract >/dev/null 2>&1
./squashfs-root/AppRun --version ./squashfs-root/AppRun --version
mv squashfs-root / mv squashfs-root /

View file

@ -15,7 +15,9 @@ try:
except ImportError: except ImportError:
pass pass
EGET_CONFIG = Path.home() / ".config" / "eget" / "eget.toml"
EGET_CONFIG = os.getenv("EGET_CONFIG", Path.home() /
".config" / "eget" / "eget.toml")
class Color: class Color:
@ -44,7 +46,7 @@ class Repo:
class Config: class Config:
def __init__(self): def __init__(self):
if tomllib: if "tomllib" in sys.modules:
settings, config = self.parse_toml_tomllib() settings, config = self.parse_toml_tomllib()
else: else:
settings, config = self.parse_toml() settings, config = self.parse_toml()

View file

@ -0,0 +1,63 @@
[global]
target = "~/bin"
["ellie/atuin"]
["sharkdp/bat"]
asset_filters = ["x86_64-unknown-linux-gnu"]
["ClementTsang/bottom"]
asset_filters = ["x86_64-unknown-linux-gnu.tar.gz"]
file = "btm"
["aristocratos/btop"]
["cli/cli"]
asset_filters = ["linux_amd64.tar.gz"]
target = "gh"
["dandavison/delta"]
asset_filters = ["x86_64-unknown-linux-gnu"]
["sharkdp/fd"]
asset_filters = ["x86_64-unknown-linux-gnu"]
["Schniz/fnm"]
["junegunn/fzf"]
["dundee/gdu"]
asset_filters = ["gdu_linux_amd64.tgz"]
["profclems/glab"]
asset_filters = ["Linux_x86_64.tar.gz"]
["charmbracelet/gum"]
asset_filters = ["linux_x86_64.tar.gz", "^.sbom"]
["casey/just"]
["jesseduffield/lazydocker"]
["jesseduffield/lazygit"]
["gokcehan/lf"]
["Peltoche/lsd"]
asset_filters = ["x86_64-unknown-linux-gnu"]
["neovim/neovim"]
target = "nvim"
["BurntSushi/ripgrep"]
target = "rg"
["mvdan/sh"]
target = "shfmt"
["rossmacarthur/sheldon"]
["starship/starship"]
asset_filters = ["starship-x86_64-unknown-linux-gnu.tar.gz"]
["ajeetdsouza/zoxide"]