carbs

Cem's Auto Rice Bootstrapping Scripts
git clone git://git.ckyln.com/carbs.git
Log | Files | Refs | README | LICENSE

commit 968b4af3093f32fbbff5098acf51f9e288ae9fde
parent ff89607dace74914300f3d8a0bc14fd28ae92db3
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue,  1 Oct 2019 10:39:27 +0300

adds to the required groups

Diffstat:
Mcarbs | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/carbs b/carbs @@ -185,6 +185,12 @@ KEYMAP=$XK EOF } +addusergroups() { + groups=(wheel audio video power) + for group in $groups; do + sudo usermod -a -G $group || error 'Could not add you to the %s group, you might want to do it yourself' "$group" + done + finalize() { clear cat <<EOF @@ -206,4 +212,5 @@ nvim -v >/dev/null 2>&1 && neovimconfig || warning 'Not installing nvim plugins' sudo chsh -s /usr/bin/zsh $USER wallpaperinstall keyboardset +addusergroups finalize