From 84953f38436156ddd8d4a8cc9f9f9420a5cd0f16 Mon Sep 17 00:00:00 2001 From: steveokard Date: Sat, 21 Aug 2021 22:38:12 -0400 Subject: [PATCH] update to dpkg function --- udeps.sh | 2 +- update.zsh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/udeps.sh b/udeps.sh index 7c053f5..f62ee29 100755 --- a/udeps.sh +++ b/udeps.sh @@ -5,7 +5,7 @@ function dpkg_url() { local src_url=$1 local args=${@:2} - wget -O $tmp_deb $src_url && + wget -q --show-progress -O $tmp_deb $src_url && sudo dpkg -i $tmp_deb $args && { rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file { rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway diff --git a/update.zsh b/update.zsh index 00554ba..9ee0790 100755 --- a/update.zsh +++ b/update.zsh @@ -6,12 +6,15 @@ function dpkg_url() { local src_url=$1 local args=${@:2} - wget -O $tmp_deb $src_url && + wget -q --show-progress -O $tmp_deb $src_url && sudo dpkg -i $tmp_deb $args && { rm -f $tmp_deb; true; } || # commands above succeeded, remove tmp file { rm -f $tmp_deb; false; } # commands above failed, remove tmp file anyway } -dpkg_url http://mirrors.kernel.org/ubuntu/pool/universe/r/rust-exa/exa_0.9.0-4_amd64.deb dpkg_url https://github.com/muesli/duf/releases/download/v0.6.2/duf_0.6.2_linux_amd64.deb dpkg_url https://github.com/ClementTsang/bottom/releases/download/0.6.3/bottom_0.6.3_amd64.deb dpkg_url https://github.com/dandavison/delta/releases/download/0.8.3/git-delta_0.8.3_amd64.deb + +#Link new bottom config +rm ~/.config/bottom/bottom.toml +ln -s ~/stevset/config/bottom/bottom.toml ~/.config/bottom