2021-10-18 00:46:11 -04:00
|
|
|
install_package() {
|
|
|
|
# If for some reason we have to change AUR helpers, this function should make it easy to update everything all at once.
|
2023-08-17 16:39:34 -04:00
|
|
|
# make sure system is up to date
|
|
|
|
yay --sudoflags "-A" --sudoloop --noconfirm -Syu
|
|
|
|
yay --sudoflags "-A" --sudoloop --needed --noconfirm -Sy "$@"
|
2021-10-18 00:46:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
restart() {
|
|
|
|
if dialog --clear --backtitle "Stormux" --yesno "Would you like to reboot now to apply changes?" 10 80 ; then
|
|
|
|
sudo reboot
|
|
|
|
fi
|
|
|
|
}
|
2023-01-22 23:48:56 -05:00
|
|
|
|
|
|
|
attention() {
|
|
|
|
play -qnV0 synth 3 pluck D3 pluck A3 pluck D4 pluck F4 pluck A4 delay 0 .1 .2 .3 .4 remix - chorus 0.9 0.9 38 0.75 0.3 0.5 -t
|
|
|
|
}
|