diff options
-rwxr-xr-x | rice.sh | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 <<EOL >> /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!" |