Added template for system setup tasks
This commit is contained in:
parent
3e599cc803
commit
d861409b3f
7
fresh.sh
7
fresh.sh
@ -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 ;
|
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
|
# ACTUAL ROUTINE
|
||||||
|
|
||||||
init
|
init
|
||||||
@ -164,6 +170,7 @@ installation_loop
|
|||||||
download_dotfiles
|
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"
|
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
|
no_beep
|
||||||
|
set_system_stuff
|
||||||
sed -i "s/#Color^/Color/g" /etc/pacman.conf
|
sed -i "s/#Color^/Color/g" /etc/pacman.conf
|
||||||
ready_steady_go
|
ready_steady_go
|
||||||
clear
|
clear
|
||||||
|
Loading…
x
Reference in New Issue
Block a user