Rename option now working.

This commit is contained in:
Storm Dragon
2021-10-18 00:46:11 -04:00
parent 7c128421d5
commit 1c4ea96f53
5 changed files with 35 additions and 173 deletions

10
.includes/functions.sh Executable file
View File

@ -0,0 +1,10 @@
install_package() {
# If for some reason we have to change AUR helpers, this function should make it easy to update everything all at once.
yay --needed --noconfirm -S "$@"
}
restart() {
if dialog --clear --backtitle "Stormux" --yesno "Would you like to reboot now to apply changes?" 10 80 ; then
sudo reboot
fi
}