summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-08-01 03:17:19 +0100
committerrafa_99 <raroma09@gmail.com>2022-08-01 03:17:19 +0100
commit641d125e23e0ec0ef80cecb295b56d0b0d1cc492 (patch)
tree392bb94455974fdc3b09122ff7af78d6a82284d7
parent775e44961b6c5983b67c4a641c8eddb9213916e7 (diff)
Updated fix for gnupg folder
-rw-r--r--INSTALL/arch-install4
-rw-r--r--INSTALL/gentoo-install4
-rw-r--r--INSTALL/openbsd-install4
-rw-r--r--misc/.config/misc/aliasrc1
4 files changed, 1 insertions, 12 deletions
diff --git a/INSTALL/arch-install b/INSTALL/arch-install
index 5fe91f3..6405f75 100644
--- a/INSTALL/arch-install
+++ b/INSTALL/arch-install
@@ -22,10 +22,6 @@ sudo pacman --needed -Syu stow opendoas pamixer zsh ncmpcpp xwallpaper newsboat
# Building Folder Structure
mkdir -p ~/Documents/PDF ~/Documents/Text ~/Documents/Disks ~/Documents/Archives ~/Documents/VMs ~/Downloads ~/Games/WINEPREFIX ~/Pictures/Screenshots ~/Pictures/GIMP ~/Videos/Recordings ~/Code ~/.config/git ~/.config/wallpaper ~/.local/share/gnupg ~/.local/share/pass
-# Setting folder permissions
-chmod 600 ~/.local/share/gnupg/*
-chmod 700 ~/.local/share/gnupg
-
doas sh -c 'echo "export _JAVA_AWT_WM_NONREPARENTING=1" >>/etc/profile.d/jre.sh'
chsh -s /bin/zsh
diff --git a/INSTALL/gentoo-install b/INSTALL/gentoo-install
index 840e89f..8c74eb0 100644
--- a/INSTALL/gentoo-install
+++ b/INSTALL/gentoo-install
@@ -38,10 +38,6 @@ else
# Building Folder Structure
mkdir -p ~/Documents/PDF ~/Documents/Text ~/Documents/Disks ~/Documents/Archives ~/Documents/VMs ~/Downloads ~/Games/WINEPREFIX ~/Pictures/Screenshots ~/Pictures/GIMP ~/Videos/Recordings ~/Code ~/.config/git ~/.config/wallpaper ~/.local/share/gnupg ~/.local/share/pass
- # Setting folder permissions
- chmod 600 ~/.local/share/gnupg/*
- chmod 700 ~/.local/share/gnupg
-
doas sh -c 'echo "export _JAVA_AWT_WM_NONREPARENTING=1" >>/etc/profile.d/jre.sh'
chsh -s /bin/zsh
diff --git a/INSTALL/openbsd-install b/INSTALL/openbsd-install
index 84cd759..43026f9 100644
--- a/INSTALL/openbsd-install
+++ b/INSTALL/openbsd-install
@@ -24,10 +24,6 @@ doas rcctl enable apmd
# Building Folder Structure
mkdir -p ~/Documents/PDF ~/Documents/Text ~/Documents/Disks ~/Documents/Archives ~/Documents/VMs ~/Downloads ~/Pictures/Screenshots ~/Pictures/GIMP ~/Videos/Recordings ~/Code ~/.config/git ~/.config/wallpaper ~/.local/share/gnupg ~/.local/share/pass
-# Setting folder permissions
-# chmod 600 ~/.local/share/gnupg/*
-chmod 700 ~/.local/share/gnupg
-
# Deploy Dots
stow --target="$HOME" fonts man misc mpd ncmpcpp newsboat neovim npm picom shell scripts suckless sxiv X11 zathura zsh
touch ~/.config/mpd/database ~/.config/mpd/log ~/.config/mpd/pid ~/.config/mpd/state ~/.config/mpd/sticker.sql
diff --git a/misc/.config/misc/aliasrc b/misc/.config/misc/aliasrc
index 66b78cb..053439a 100644
--- a/misc/.config/misc/aliasrc
+++ b/misc/.config/misc/aliasrc
@@ -27,3 +27,4 @@ alias grep='grep -i' \
dl='curl -LO' \
m='udisksctl mount -b' \
u='udisksctl unmount -b' \
+ fixpg='find "$GNUPGHOME" -type f | xargs -I {} chmod 600 {} && find "$GNUPGHOME" -type d | xargs -I {} chmod 700 {}'