You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.6 KiB

#!/bin/bash
MAIN_DIR=$PWD
source $MAIN_DIR/programs/os/os_install.sh
source $MAIN_DIR/programs/dmenu/dmenu.sh
source $MAIN_DIR/programs/fonts/fonts.sh
source $MAIN_DIR/programs/alacritty/alacritty.sh
source $MAIN_DIR/programs/wallpaper/wallpaper.sh
source $MAIN_DIR/programs/picom/picom.sh
source $MAIN_DIR/programs/obsidian/obsidian.sh
DOTFILE_DIR=$MAIN_DIR/dotfiles
USER_DOTFILE_DIR=/home/$USER/.config
FONTS_DIR="/usr/local/share/fonts"
WALLPAPERS_DIR="/home/$USER"
CPU_CORE_COUNT=$(grep -c ^processor /proc/cpuinfo)
PLATFORM="laptop"
sleepTime=0.2
# Declaration of OS and their package managers
os_list=(debian arch raspberry)
pckgmngr_list=('sudo apt -y install' 'yes | sudo pacman -S' 'sudo apt -y install')
# Declaration of common packages and their config files forr al linux distros
# These pacakges must be found in the standart repositories
common_programs_list=(htop tmux git fish mc wget sudo unzip cmake make gcc exa scrot)
common_dotfile_list=(fish)
# Declaration of common default installations but for different OS
# These pacakges must be found in the standart repositories
default_installs_debian=(qutebrowser)
default_installs_arch=(qutebrowser)
default_installs_raspberry=(chromium)
# Declaration of customized installations for different OS
# Their instalation methodes can differ depending of the distribution
# These pacakges must not be found in the standart repositories and can be gits or direct installs
#custom_installs_debian=(dmenu fonts alacritty wallpaper picom)
custom_installs_debian=(obsidian)
custom_installs_arch=(dmenu fonts alacritty wallpaper picom)
custom_installs_raspberry=(dmenu fonts alacritty wallpaper picom)