-
Notifications
You must be signed in to change notification settings - Fork 0
/
snackk.conf
88 lines (68 loc) · 2.33 KB
/
snackk.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
##################################################
# EDIT THIS TO YOURS #
##################################################
# Hostname & Username
HOSTN=notebook-pro
USERN=snackk
# Time zone
# Available time zones and sub-zones can be found in the /usr/share/zoneinfo/<Zone>/<SubZone> directories.
LOCALE=Europe/Lisbon
# Root & User password
# WARNING, Must be changed afterwards
ROOT_PASSWD=password
# Linux partitions
# Run lsblk to see what's yours
ROOT_PART=nvme0n1p5
# EFI partition
# Usually 100MB partition size
EFI_BOOT=nvme0n1p2
# File Systems type
ROOT_FS=ext4
# Keyboard Layout
KEYBOARD_LAYOUT=us
# Language
LANGUAGE=en_US
##################################################
# DO NOT EDIT FROM THIS POINT ON! #
##################################################
##################################################
# PACKAGES TO INSTALL #
##################################################
BASE_PKGS='base base-devel'
BASIC_PKGS='dialog wpa_actiond wpa_supplicant wireless_tools networkmanager network-manager-applet os-prober grub efibootmgr ntfs-3g'
DISPLAY_PKGS='mesa-libgl lib32-mesa-libgl xorg xorg-server xorg-xinit'
DEEPIN='deepin deepin-extra'
SNK_CUSTOM='arc-gtk-theme openssh zsh wget alsi acpi conky tilda git chromium qt4 vlc deluge pygtk vim'
GRUB_THEME='grub2-theme-vimix-git'
##################################################
# OUTPUT COLORS #
##################################################
FAIL_MS="\e[31mø\e[39m"
SUC_MS="\e[32m✔\e[39m"
RED="\033[0;31m"
GREEN="\033[0;32m"
BLUE="\033[0;34m"
NC="\033[0m"
##################################################
# PRINT FUNCTIONS #
##################################################
to_install=0;
success=0;
print_pretty_header() {
echo -e " ->${BLUE}$1${NC}"
}
print_line() {
printf "${RED}%$(tput cols)s\n${NC}"|tr ' ' '-'
}
print_results() {
failed=$((to_install-success));
if [[ $failed -eq 0 ]]; then
echo -e " $SUC_MS $to_install ${GREEN}installed successfully.${NC}"
else
echo -e " $SUC_MS $success ${GREEN}installed successfully.${NC}"
echo -e " $FAIL_MS $failed ${RED}failed to install.${NC}"
if [ ! -z "$1" ]; then
echo -e " $FAIL_MS ${RED}$1${NC}"
fi
fi
}