formatting

This commit is contained in:
Adam 2023-06-19 20:05:11 -04:00
parent 383c04ccbc
commit 12869d4564
4 changed files with 52 additions and 84 deletions

View file

@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
#
# install yay
#
cd && cd &&
if ! type "yay" &> /dev/null; then if ! type "yay" &> /dev/null; then
echo "Yay not found, installing..." && echo "Yay not found, installing..." &&
@ -17,44 +21,52 @@ else
echo -e "\nYay is already installed, skipping..." echo -e "\nYay is already installed, skipping..."
fi && fi &&
#
# install deps
#
echo -e "\nInstalling dependencies..." && echo -e "\nInstalling dependencies..." &&
# Base/Shell
yay -S --needed --noconfirm \ yay -S --needed --noconfirm \
\
`# Standard`\
rsync \
sl \
btop \
neovim \
byobu \
zsh \
lf \
nnn \
alacritty \ alacritty \
river \ beautiful-discord-git \
waybar \ btop \
swaybg \ byobu \
firefox-developer-edition \
thunderbird \
chromium \
caprine \ caprine \
fuzzel \ chromium \
telegram-desktop \
discord \ discord \
firefox-developer-edition \
fuzzel \
gawk \
gimp \ gimp \
steam \ lf \
spotify-launcher \ light \
mako \ mako \
neovim \
nnn \
oh-my-zsh-git \
otf-font-awesome \
pamixer \ pamixer \
playerctl \ playerctl \
gawk \
light \
otf-font-awesome \
pywal-discord-git \
beautiful-discord-git \
wal-telegram-git \
python-pywalfox \ python-pywalfox \
oh-my-zsh-git && pywal-discord-git \
river \
rsync \
sl \
spotify-launcher \
steam \
swaybg \
telegram-desktop \
thunderbird \
wal-telegram-git \
waybar \
zsh \
&&
#
# set shell
#
echo "" && echo "" &&
sudo chsh -s /bin/zsh $USER sudo chsh -s /bin/zsh $USER

View file

@ -1,40 +0,0 @@
#!/bin/bash
# Install all (most) dependencies
# This also serves as a list of dependencies
yay -S --needed --noconfirm \
\
`# Standard`\
awesome \
btop \
kitty \
neovim \
firefox-developer-edition \
python-pywal \
playerctl \
pamixer \
byobu \
zsh \
xorg-xmodmap \
picom \
unclutter \
redshift \
xclip \
polkit-gnome \
arc-icon-theme \
acpi \
nitrogen \
spotify-launcher \
xorg-server \
xorg-xinit \
xorg-xset \
\
`# Aur`\
python-pywalfox \
pywal-discord-git \
wal-telegram-git \
lf-git \
ctpv-git \
nvim-packer-git \
oh-my-zsh-git

28
setup
View file

@ -42,19 +42,19 @@ if [[ $OS == *Arch* ]]; then
git clone https://github.com/adoyle0/Doors.git .doors git clone https://github.com/adoyle0/Doors.git .doors
fi && fi &&
.doors/scripts/install_arch ~/.doors/scripts/install_arch
elif [[ $OS == *buntu* ]]; then elif [[ $OS == *buntu* ]]; then
cd && cd &&
sudo apt-get -y install git rsync && sudo apt-get -y install git rsync &&
git clone https://github.com/adoyle0/Doors.git .doors && git clone https://github.com/adoyle0/Doors.git .doors &&
.doors/scripts/install_min_ubuntu ~/.doors/scripts/install_min_ubuntu
elif [[ $OS == *Fedora* ]]; then elif [[ $OS == *Fedora* ]]; then
cd && cd &&
sudo dnf install -y git rsync && sudo dnf install -y git rsync &&
git clone https://github.com/adoyle0/Doors.git .doors && git clone https://github.com/adoyle0/Doors.git .doors &&
.doors/scripts/install_min_fedora ~/.doors/scripts/install_min_fedora
fi fi
@ -64,19 +64,15 @@ fi
# #
echo -e "\nInstalling Configs..." && echo -e "\nInstalling Configs..." &&
cd .doors/configs && cd ~/.doors/configs &&
for file in * for file in *
do do
if test -d $HOME/.config/$file; then echo -e "\n$file..." &&
echo -e "\n$file already exists, creating backups..." cp -rbv $file ~/.config/
else
echo -e "\nWriting $file..."
fi
cp -rbv $file $HOME/.config/
done && done &&
echo -e "\nLinking profile..." && echo -e "\nLinking profile..." &&
cp -sbv $HOME/.config/shell/profile $HOME/.zprofile && cp -sbv ~/.config/shell/profile ~/.zprofile &&
@ -85,13 +81,13 @@ echo -e "\nInstalling Configs..." &&
# #
echo -e "\nInstalling Scripts..." && echo -e "\nInstalling Scripts..." &&
cd ../scripts && cd ~/.doors &&
if [ ! -d "$HOME/.local/bin" ]; then if [ ! -d "~/.local/bin" ]; then
mkdir "$HOME/.local/bin" mkdir "~/.local/bin"
fi && fi &&
cp -rbv doorsbg $HOME/.local/bin && cp -rbv bin ~/.local &&
@ -102,6 +98,6 @@ echo -e "\nInstalling Scripts..." &&
echo -e "\nDone!\nLog out and back in for changes to take effect." echo -e "\nDone!\nLog out and back in for changes to take effect."
# wait for less to catch up and tell it we're done # give less time to catch up and tell it we're done
sleep 1 && killall -s SIGINT less sleep 1 && killall -s SIGINT less