diff options
author | awy <awy@awy.one> | 2024-10-29 22:17:38 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-10-29 22:17:38 +0300 |
commit | 2bf0dcbefb0e855750bcafbd35ab0809e1082f81 (patch) | |
tree | 699a2323a7970a57f63d6714a29de6d0a9543fea | |
parent | ac96c924ae68840a38139c14d68de6775144cde4 (diff) |
fixes
-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!" |