Adds missing bootstrap packages
This commit is contained in:
parent
bc2caa6c11
commit
132f9d0636
3 changed files with 22 additions and 15 deletions
|
|
@ -1,5 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
confirm() {
|
||||
# call with a prompt string or use a default
|
||||
read -r -p "${1} [y/N] " response
|
||||
case "$response" in
|
||||
[yY][eE][sS] | [yY])
|
||||
1
|
||||
;;
|
||||
*)
|
||||
0
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
debug() {
|
||||
echo "Debug:"
|
||||
echo "XDG_SESSION_DESKTOP $XDG_SESSION_DESKTOP"
|
||||
|
|
@ -9,15 +22,14 @@ CYAN='\033[0;36m'
|
|||
NC='\033[0m'
|
||||
|
||||
# install dependencies
|
||||
echo -e "${CYAN}# Installing dependencies (general)${NC}"
|
||||
yay -S --needed neovim \
|
||||
nitrogen \
|
||||
kitty \
|
||||
btop \
|
||||
zoxide fzf \
|
||||
evremap \
|
||||
superfile \
|
||||
getnf
|
||||
if confirm "Install dependencies (general)?"; then
|
||||
yay -S --needed neovim \
|
||||
kitty \
|
||||
btop \
|
||||
zoxide fzf \
|
||||
evremap \
|
||||
superfile
|
||||
fi
|
||||
|
||||
if [ $XDG_SESSION_DESKTOP = "i3" ]; then
|
||||
echo -e "${CYAN}# Installing dependencies (for i3)${NC}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue