From 79aaa34b2db55595d011d8746407fcafb9047c75 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Wed, 21 Jul 2021 22:17:12 +0200 Subject: updated --- .config/stig/modified.theme | 2 +- arch/required | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.config/stig/modified.theme b/.config/stig/modified.theme index c9d7788..aeeb3a6 100644 --- a/.config/stig/modified.theme +++ b/.config/stig/modified.theme @@ -281,7 +281,7 @@ torrentlist.started.focused $started_fg on $tli $status.idle_fg = light gray $status.downloading_fg = dark cyan $status.uploading_fg = dark green -$status.connected_fg = dark magenta +$status.connected_fg = dark red $status.seeding_fg = light gray $status.stopped_fg = dark blue $status.queued_fg = brown diff --git a/arch/required b/arch/required index ad8c2b8..ffc0604 100755 --- a/arch/required +++ b/arch/required @@ -1,16 +1,17 @@ #!/bin/bash -# run as root +set -e +U=tom pacman -S --needed - < mainline +useradd -m $U +passwd $U -useradd -m tom +mkdir /home/$U/yay +git clone https://aur.archlinux.org/yay-bin.git /home/$U/yay -mkdir /home/tom/yay -git clone https://aur.archlinux.org/yay-bin.git /home/tom/yay +chown $U:$U -R /home/$U -chown tom:tom -R /home/tom +echo "$U ALL=(ALL) ALL" >> /etc/sudoers -cd /home/tom/yay && sudo -u tom makepkg -si --noconfirm +cd /home/$U/yay && sudo -u $U makepkg -si --noconfirm -sudo -u tom yay -Syu --noconfirm - -sudo -u tom yay -S --needed - < aur +sudo -u $U yay -Syu --noconfirm -- cgit v1.2.3