From 53084523904692b7ea3f098cff7abbee48aee64b Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Mon, 23 Aug 2021 15:33:45 -0500 Subject: [PATCH 1/4] Prefer pkill over killall --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 410b748..9cacb1e 100644 --- a/larbs.sh +++ b/larbs.sh @@ -242,7 +242,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. From 2f335c3c2e3799b5a8499f9de235a57cf60c4194 Mon Sep 17 00:00:00 2001 From: anntnzrb Date: Tue, 24 Aug 2021 09:39:23 -0500 Subject: [PATCH 2/4] Log errors to stderr --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 410b748..663cd83 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 From f1290a1e029a52af7dcf8f0c428bf5489e427a26 Mon Sep 17 00:00:00 2001 From: krisdoodle45 <86745210+krisdoodle45@users.noreply.github.com> Date: Wed, 25 Aug 2021 19:52:20 +0000 Subject: [PATCH 3/4] "~/.local/bin/pauseallmpv" depends on socat The script pauseallmpv in the voidrice repository depends on socat to work. --- progs.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/progs.csv b/progs.csv index 9dc4dae..c426016 100644 --- a/progs.csv +++ b/progs.csv @@ -60,3 +60,4 @@ 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." From 881a6acf402a95e3f53300929e36737f4010ebd9 Mon Sep 17 00:00:00 2001 From: krisdoodle45 <86745210+krisdoodle45@users.noreply.github.com> Date: Sun, 29 Aug 2021 19:11:59 +0200 Subject: [PATCH 4/4] Added moreutils for lf's bulkrename lf's bulkrename which is added in the voidrice repository has vidir as a dependency. This tool is provided by the moreutils package. --- progs.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/progs.csv b/progs.csv index c426016..764b4a0 100644 --- a/progs.csv +++ b/progs.csv @@ -61,3 +61,4 @@ 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."