25 lines
618 B
Bash
Executable file
25 lines
618 B
Bash
Executable file
#!/bin/sh
|
|
|
|
do_you_want_to() {
|
|
read -rp "Do you want to $1? [y/N] " answer
|
|
[[ "$answer" =~ ^[Yy]$ ]]
|
|
}
|
|
|
|
do_you_want_to "install all packages" && sudo xbps-install -Su $(cat packages)
|
|
|
|
echo "Copying configs..."
|
|
cp aliases ~/.bash_aliases
|
|
cp -a kitty/. ~/.config/kitty
|
|
cp -a sway/. ~/.config/sway
|
|
cp -a waybar/. ~/.config/waybar
|
|
cp -a helix/. ~/.config/helix
|
|
cp -a dunst/. ~/.config/dunst
|
|
chmod +x ~/.startup
|
|
chmod +x ~/.bash_aliases
|
|
|
|
echo "Building dmenu..."
|
|
cd dmenu
|
|
do_you_want_to "build and install dmenu" && make clean install
|
|
cd ..
|
|
|
|
do_you_want_to "install lightdm configs" && sudo cp -a lightdm/. /etc/lightdm
|