Remove apps.list and apps.aur
This commit is contained in:
31
apps.list
31
apps.list
@@ -1,31 +0,0 @@
|
|||||||
alacritty
|
|
||||||
dunst
|
|
||||||
figlet
|
|
||||||
firefox
|
|
||||||
fzf
|
|
||||||
gimp
|
|
||||||
hacksaw
|
|
||||||
htop
|
|
||||||
i3-gaps
|
|
||||||
jq
|
|
||||||
lxappearance
|
|
||||||
mpv
|
|
||||||
mupdf
|
|
||||||
ncdu
|
|
||||||
neofetch
|
|
||||||
neovim
|
|
||||||
nmap
|
|
||||||
ntfs-3g
|
|
||||||
obs-studio
|
|
||||||
pipewire
|
|
||||||
playerctl
|
|
||||||
ranger
|
|
||||||
rofi
|
|
||||||
shotgun
|
|
||||||
steam
|
|
||||||
ttf-fira-code
|
|
||||||
ttf-font-awesome
|
|
||||||
git
|
|
||||||
steam-native-runtime
|
|
||||||
sway
|
|
||||||
waybar
|
|
||||||
48
bootstrap.sh
48
bootstrap.sh
@@ -1,37 +1,34 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
declare -A configs
|
declare -A configs=(
|
||||||
|
["$PWD/config/.bashrc"]="$HOME/.bashrc"
|
||||||
|
["$PWD/config/.gitconfig"]="$HOME/.gitconfig"
|
||||||
|
["$PWD/config/nvim"]="$HOME/.config/nvim"
|
||||||
|
["$PWD/config/alacritty"]="$HOME/.config/alacritty"
|
||||||
|
["$PWD/config/rofi"]="$HOME/.config/rofi"
|
||||||
|
["$PWD/config/dunst"]="$HOME/.config/dunst"
|
||||||
|
["$PWD/config/fontconfig"]="$HOME/.config/fontconfig"
|
||||||
|
["$PWD/config/sway"]="$HOME/.config/sway"
|
||||||
|
["$PWD/config/swaylock"]="$HOME/.config/swaylock"
|
||||||
|
["$PWD/config/waybar"]="$HOME/.config/waybar"
|
||||||
|
["$PWD/config/wlogout"]="$HOME/.config/wlogout"
|
||||||
|
["$PWD/config/i3"]="$HOME/.config/i3"
|
||||||
|
["$PWD/config/polybar"]="$HOME/.config/polybar"
|
||||||
|
["$PWD/config/picom.conf"]="$HOME/.config/picom.conf"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: (./)bootstrap [-S][-R]"
|
echo "usage: (./)bootstrap.sh [-S][-R]"
|
||||||
echo
|
echo
|
||||||
echo " -S installs all this shit"
|
echo " -S installs all this shit"
|
||||||
echo " -R removes all this shit"
|
echo " -R removes all this shit"
|
||||||
echo " -U updates or installs all packages"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ $# -eq 0 ] ; then
|
if [ $# -eq 0 ] ; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
configs=(
|
|
||||||
["$PWD/config/.bashrc"]="$HOME/.bashrc"
|
|
||||||
["$PWD/config/.gitconfig"]="$HOME/.gitconfig"
|
|
||||||
["$PWD/config/nvim"]="$HOME/.config/nvim"
|
|
||||||
["$PWD/config/alacritty"]="$HOME/.config/alacritty"
|
|
||||||
["$PWD/config/i3"]="$HOME/.config/i3"
|
|
||||||
["$PWD/config/polybar"]="$HOME/.config/polybar"
|
|
||||||
["$PWD/config/sway"]="$HOME/.config/sway"
|
|
||||||
["$PWD/config/swaylock"]="$HOME/.config/swaylock"
|
|
||||||
["$PWD/config/waybar"]="$HOME/.config/waybar"
|
|
||||||
["$PWD/config/rofi"]="$HOME/.config/rofi"
|
|
||||||
["$PWD/config/dunst"]="$HOME/.config/dunst"
|
|
||||||
["$PWD/config/fontconfig"]="$HOME/.config/fontconfig"
|
|
||||||
["$PWD/config/wlogout"]="$HOME/.config/wlogout"
|
|
||||||
["$PWD/config/picom.conf"]="$HOME/.config/picom.conf"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
# Install all configs
|
# Install all configs
|
||||||
if [ "$1" = "-S" ] ; then
|
if [ "$1" = "-S" ] ; then
|
||||||
|
|
||||||
@@ -62,12 +59,3 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "-U" ] ; then
|
|
||||||
archPackages=$(cat apps.list)
|
|
||||||
aurPackages=$(cat apps.aur)
|
|
||||||
|
|
||||||
echo "Installing Arch packages... "
|
|
||||||
echo "We need your sudo privileges"
|
|
||||||
sudo pacman -S $archPackages --noconfirm --needed
|
|
||||||
fi
|
|
||||||
|
|||||||
Reference in New Issue
Block a user