Compare commits
No commits in common. "148080d4704dd6d825aeb0be7b949a664acde6da" and "fe24bd6f4536966c580804002cbac8147289d5bf" have entirely different histories.
148080d470
...
fe24bd6f45
2 changed files with 10 additions and 13 deletions
|
@ -9,4 +9,5 @@ bin/lock
|
||||||
.config/leftwm
|
.config/leftwm
|
||||||
.config/autorandr
|
.config/autorandr
|
||||||
.config/pikaur.conf
|
.config/pikaur.conf
|
||||||
|
.config/lsd
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,14 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#colors
|
#colors
|
||||||
|
MAGENTA=$(tput setaf 5)
|
||||||
# remove tput just use ansi
|
CYAN=$(tput setaf 6)
|
||||||
MAGENTA="\033[35m"
|
YELLOW=$(tput setaf 3)
|
||||||
CYAN="\033[34m"
|
RED=$(tput setaf 1)
|
||||||
YELLOW="\033[33m"
|
GREEN=$(tput setaf 2)
|
||||||
RED="\033[31m"
|
NORMAL=$(tput sgr0)
|
||||||
GREEN="\033[32m"
|
|
||||||
NORMAL="\033[0m"
|
|
||||||
|
|
||||||
BIN_DIR=$HOME/bin
|
BIN_DIR=$HOME/bin
|
||||||
YAMLDOC="$DOTFILES_DIR/info/tools.yml"
|
YAMLDOC="$DOTFILES_DIR/info/tools.yml"
|
||||||
|
@ -19,8 +17,6 @@ INSTALL_NO=${RED}✗${NORMAL}
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
BINARY_FILES=($HOME/bin/*)
|
BINARY_FILES=($HOME/bin/*)
|
||||||
|
|
||||||
|
|
||||||
export EGET_BIN=$HOME/bin
|
|
||||||
alias eget="eget --system linux/amd64"
|
alias eget="eget --system linux/amd64"
|
||||||
|
|
||||||
post_download_install() {
|
post_download_install() {
|
||||||
|
@ -116,7 +112,7 @@ list() {
|
||||||
tool_cell=$(printf "%${tool_len}s" "")
|
tool_cell=$(printf "%${tool_len}s" "")
|
||||||
user_cell=$(printf "%${user_len}s" "")
|
user_cell=$(printf "%${user_len}s" "")
|
||||||
|
|
||||||
echo -e "${CYAN}CONFIGURED TOOLS${NORMAL}"
|
echo "${CYAN}CONFIGURED TOOLS${NORMAL}"
|
||||||
printf "%${table_width}s\n" "" | tr ' ' =
|
printf "%${table_width}s\n" "" | tr ' ' =
|
||||||
printf \
|
printf \
|
||||||
"${CYAN}tool${NORMAL}%s | \
|
"${CYAN}tool${NORMAL}%s | \
|
||||||
|
@ -229,7 +225,7 @@ if [ -z "$args" ]; then
|
||||||
else
|
else
|
||||||
echo "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}"
|
echo "Downloading binaries to ${GREEN}$BIN_DIR${NORMAL}"
|
||||||
deps_check
|
deps_check
|
||||||
for tool in "${args[@]}"; do
|
for tool in "$args"; do
|
||||||
download "$tool"
|
download $tool
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue