add setup-dirs.sh to setup symlinks from ~/.files dir

master
Alex 2023-03-11 20:40:37 -06:00
parent a115ebb0e4
commit 869b5a38ea
3 changed files with 21 additions and 9 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
[ -z "$PFILE" ] && PFILE="$HOME/.local/share/pass.gpg" [ -z "$PFILE" ] && PFILE="$HOME/.files/pass.gpg"
mkpass() { mkpass() {

View File

@ -37,18 +37,18 @@ wireless() {
configuration() { configuration() {
echo "Starting installation configuration..." echo "Starting installation configuration..."
#setup home directories #setup home directories
mkdir ~/docs/ #mkdir ~/docs/
mkdir ~/dl/ #mkdir ~/dl/
mkdir ~/media/ #mkdir ~/media/
#mkdir -p ~/media/audio
#mkdir -p ~/media/img
#mkdir -p ~/media/video
mkdir -p ~/.config/mpd/playlists mkdir -p ~/.config/mpd/playlists
mkdir -p ~/.local/share/gnupg/ mkdir -p ~/.local/share/gnupg/
mkdir -p ~/.local/share/desktop mkdir -p ~/.local/share/desktop
mkdir -p ~/.local/share/wineprefixes/default mkdir -p ~/.local/share/wineprefixes/default
mkdir -p ~/.local/share/templates mkdir -p ~/.local/share/templates
mkdir -p ~/.local/share/public mkdir -p ~/.local/share/public
mkdir -p ~/media/audio
mkdir -p ~/media/img
mkdir -p ~/media/video
mkdir -p ~/.local/src/ mkdir -p ~/.local/src/
#setup ufw #setup ufw
@ -142,10 +142,10 @@ read input
echo "PWD = $PWD" echo "PWD = $PWD"
echo "installing AUR packages..." #echo "installing AUR packages..."
#sh ./scripts/aur-install.sh ./files/aur-programs.list #sh ./scripts/aur-install.sh ./files/aur-programs.list
echo "Done installing AUR packages." #echo "Done installing AUR packages."
echo "" echo ""
echo "installation complete." echo "installation complete."

View File

@ -0,0 +1,12 @@
#!/bin/sh
FILES_DIR="$HOME/.files/"
ln -s "$HOME"/.files/dl "$HOME"/dl
ln -s "$HOME"/.files/docs "$HOME"/docs
ln -s "$HOME"/.files/media "$HOME"/media
ln -s "$HOME"/.files/.ssh "$HOME"/.ssh
ln -s "$HOME"/.files/.gitconfig "$HOME"/.gitconfig
mkdir -p ~/.var/app/
ln -s "$HOME"/.files/.var/app/io.gitlab.librewolf-community ~/.var/app/io.gitlab.librewolf-community