From 2bf0dcbefb0e855750bcafbd35ab0809e1082f81 Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 29 Oct 2024 22:17:38 +0300 Subject: fixes --- rice.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'rice.sh') diff --git a/rice.sh b/rice.sh index 3bd1f67..1a0ba91 100755 --- a/rice.sh +++ b/rice.sh @@ -42,10 +42,13 @@ rm -rf hyprdots doas -u $PERMUSER mkdir -p /home/$PERMUSER/.ssh doas -u $PERMUSER mkdir -p /home/$PERMUSER/.gnupg doas -u $PERMUSER touch /home/$PERMUSER/.gnupg/gpg-agent.conf -echo 'enable-ssh-support' > /home/$PERMUSER/.gnupg/gpg-agent.conf -echo 'pinentry-program /usr/bin/pinentry-qt' >> /home/$PERMUSER/.gnupg/gpg-agent.conf -echo 'default-cache-ttl 34560000' >> /home/$PERMUSER/.gnupg/gpg-agent.conf -echo 'max-cache-ttl 34560000' >> /home/$PERMUSER/.gnupg/gpg-agent.conf + +cat <> /home/$PERMUSER/.gnupg/gpg-agent.conf +enable-ssh-support +pinentry-program /usr/bin/pinentry-qt +default-cache-ttl 34560000 +max-cache-ttl 34560000 +EOL chsh -s /bin/zsh $PERMUSER @@ -59,5 +62,6 @@ EOL sed -i -e "/^#"Color"/s/^#//" /etc/pacman.conf sed -i -e '/Color/a\ILoveCandy' /etc/pacman.conf +sed -i -e "/^#"DisableSandbox"/s/^#//" /etc/pacman.conf echo "Your linux is riced!" -- cgit v1.2.3