todo: complete install script

1. install X11 configs
2. add config for amdgpu
This commit is contained in:
2025-02-16 02:08:56 +04:00
parent f0c02135ff
commit e0d16a1f87
10 changed files with 285 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ green="\e[92m"
dgreen="\e[32m"
end="\e[0m"
general_configs=("btop" "picom" "zathura" "rofi" "yazi" "dunst" "mimeapps.list" "starship.toml")
general_configs=("betterlockscreen" "btop" "picom" "zathura" "rofi" "yazi" "dunst" "mimeapps.list" "starship.toml")
home_dir_configs=(".bg" ".zshrc" ".zsh")
echo -e "${green}
@@ -47,12 +47,17 @@ install_config ~/ ${home_dir_configs[@]}
betterlockscreen -u ~/.bg/bg_5.png --fx blur --blur 1
echo "Do you want install custom bspwm xsession to /usr/share/xsessions/? It needs to become root (y/N):"
echo "Do you want install bspwm_session, X11, fonts and acpid (for laptop) configs? (y/N):"
read advanced_install
case "${advanced_install}" in
"Y" | "y")
su root -c "cp -vf ./bspwm_session/* /usr/share/xsessions/"
sudo cp -vfr ./bspwm_session/* /usr/share/xsessions
sudo cp -vrf ./root_configs/fonts /etc
if [[ $type == "L" | $type == "l" ]] -; then
sudo cp -vfr ./root_configs/acpi /etc
else
fi
;;
"N" | "n" | "*")
echo "Skip"