diff --git a/larbs.sh b/larbs.sh index db23e2c..b72ae74 100644 --- a/larbs.sh +++ b/larbs.sh @@ -23,7 +23,7 @@ esac done installpkg(){ pacman --noconfirm --needed -S "$1" >/dev/null 2>&1 ;} -error() { echo "ERROR: $1" ; exit 1;} +error() { printf "%s\n" "$1" >&2; exit 1; } welcomemsg() { \ dialog --title "Welcome!" --msgbox "Welcome to Luke's Auto-Rice Bootstrapping Script!\\n\\nThis script will automatically install a fully-featured Linux desktop, which I use as my main machine.\\n\\n-Luke" 10 60 @@ -241,7 +241,7 @@ grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth echo "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" >> /etc/conf.d/fluidsynth # Start/restart PulseAudio. -killall pulseaudio; sudo -u "$name" pulseaudio --start +pkill -15 -x 'pulseaudio'; sudo -u "$name" pulseaudio --start # This line, overwriting the `newperms` command above will allow the user to run # serveral important commands, `shutdown`, `reboot`, updating, etc. without a password. diff --git a/progs.csv b/progs.csv index 9dc4dae..764b4a0 100644 --- a/progs.csv +++ b/progs.csv @@ -60,3 +60,5 @@ G,https://github.com/lukesmithxyz/st.git,"is my custom build of suckless's termi G,https://github.com/lukesmithxyz/dwm.git,"is the window manager." A,mutt-wizard-git,"is a light-weight terminal-based email system." ,slock,"allows you to lock your computer, and quickly unlock with your password." +,socat,"is a utility which establishes two byte streams and transfers data between them." +,moreutils,"is a collection of useful unix tools."