Remove password-store and fix wallpaper bug

This commit is contained in:
2025-09-27 21:28:05 +00:00
parent 7761e3282c
commit de5161811b

View File

@@ -144,6 +144,7 @@ if [ "$W_MAIN" = "install" ] || [ "$W_MAIN" = "reload" ]; then
# Copy wallpapers # Copy wallpapers
printf "%b\n" "${YELLOW}[+]${NC} Installing Wallpapers..." printf "%b\n" "${YELLOW}[+]${NC} Installing Wallpapers..."
sudo mkdir -p /usr/share/backgrounds/gnome/
sudo cp -r $HOME/dotfiles/wallpapers/* /usr/share/backgrounds/gnome/ sudo cp -r $HOME/dotfiles/wallpapers/* /usr/share/backgrounds/gnome/
# Copy scripts # Copy scripts
@@ -183,24 +184,12 @@ if [ "$W_MAIN" = "install" ] || [ "$W_MAIN" = "reload" ]; then
git config --global user.name "TrudeEH" git config --global user.name "TrudeEH"
git config --global user.email "ehtrude@gmail.com" git config --global user.email "ehtrude@gmail.com"
# Clone password-store # Configure SSH
if [ ! -f "$HOME/.ssh/id_ed25519" ] || [ ! -f "$HOME/.ssh/id_ed25519.pub" ]; then if [ ! -f "$HOME/.ssh/id_ed25519" ] || [ ! -f "$HOME/.ssh/id_ed25519.pub" ]; then
printf "%b\n" "${RED}ED25519 key not found in ${CYAN}$HOME/.ssh/id_ed25519. ${RED}Please add your ED25519 key pair for password-store.${NC}" printf "%b\n" "${RED}ED25519 key not found in ${CYAN}$HOME/.ssh/id_ed25519${NC}."
elif ! gpg --list-keys "ehtrude@gmail.com" >/dev/null 2>&1; then
printf "%b\n" "${RED}GPG key for ehtrude@gmail.com not found. Please import the key for password-store.${NC}"
else else
if [ ! -d "$HOME/.password-store" ]; then
printf "%b\n" "${YELLOW}[+]${NC} Cloning password-store..."
chmod 700 ~/.ssh chmod 700 ~/.ssh
chmod 600 ~/.ssh/* chmod 600 ~/.ssh/*
if ! git clone git@git.trude.dev:trude/password-store.git "$HOME/.password-store"; then
printf "%b\n" "${RED}Error cloning password-store.${NC}"
else
printf "%b\n" "${GREEN}[✓]${NC} Password-store cloned successfully."
fi
else
printf "%b\n" "${GREEN}[✓]${NC} Password-store already present."
fi
fi fi
fi fi