Added template for system setup tasks

master
Toerd@iArch 6 years ago
parent 3e599cc803
commit d861409b3f

@ -151,6 +151,12 @@ ready_steady_go() {
dialog --title "WE ARE DONE" --msgbox "The installation is complete\n\n#fingerscrossed everything worked :D" 0 0 ;
}
set_system_stuff() {
# locale gen
sudo localectl --no-convert set-x11-keymap us ,altgr-intl
setxkbmap us -variant altgr-intl
}
# ACTUAL ROUTINE
init
@ -164,6 +170,7 @@ installation_loop
download_dotfiles
set_permissions "%wheel ALL=(ALL) ALL\\n%wheel ALL=(ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/packer -Syu,/usr/bin/packer -Syyu,/usr/bin/systemctl restart NetworkManager,/usr/bin/rc-service NetworkManager restart,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/yay"
no_beep
set_system_stuff
sed -i "s/#Color^/Color/g" /etc/pacman.conf
ready_steady_go
clear

Loading…
Cancel
Save