32 lines
576 B
Bash
Executable file
32 lines
576 B
Bash
Executable file
#!/bin/bash
|
|
|
|
confirm() {
|
|
# call with a prompt string or use a default
|
|
read -r -p "${1} [y/N] " response
|
|
case "$response" in
|
|
[yY][eE][sS] | [yY])
|
|
1
|
|
;;
|
|
*)
|
|
0
|
|
;;
|
|
esac
|
|
}
|
|
|
|
debug() {
|
|
echo "Debug:"
|
|
echo "XDG_SESSION_DESKTOP $XDG_SESSION_DESKTOP"
|
|
}
|
|
|
|
CYAN='\033[0;36m'
|
|
NC='\033[0m'
|
|
|
|
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
|
|
|
# install dependencies
|
|
source "$SCRIPT_DIR/_install_dependencies.sh"
|
|
|
|
source "$SCRIPT_DIR/_install_desktop_env.sh"
|
|
|
|
source "$SCRIPT_DIR/_install_keymap.sh"
|
|
source "$SCRIPT_DIR/_install_fonts.sh"
|