summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2021-07-21 22:17:12 +0200
committerTom Barrett <tom@tombarrett.xyz>2021-07-21 22:17:12 +0200
commit79aaa34b2db55595d011d8746407fcafb9047c75 (patch)
tree87cb0de386b4a7f32a45011ba73d522b1191c8a4
parentd25d43d9d29585b0f053de0a1590e4f1bbd715ab (diff)
updated
-rw-r--r--.config/stig/modified.theme2
-rwxr-xr-xarch/required19
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