dotfiles/install.sh

29 lines
701 B
Bash
Raw Normal View History

2021-10-02 22:50:53 +00:00
#!/bin/sh
echo "Configuring directories..."
cd -- "$(dirname -- $0)"
2021-12-24 00:16:07 +00:00
ZDOTDIR="$HOME/.config/zsh"
mkdir -p "$ZDOTDIR" # Symlink only the individual files instead of the entire directory
sleep 0.5
echo "Creating the symlinks with stow..."
2021-10-02 22:50:53 +00:00
for dir in *
do
[ -d "$dir" ] && stow -t "$HOME" --ignore="README.md" "$dir"
done
2021-10-02 22:50:53 +00:00
sleep 0.5
echo "Making scripts executable..."
2021-10-02 22:50:53 +00:00
chmod +x scripts/.local/bin/clear-clipboard.sh
chmod +x scripts/.local/bin/update.sh
chmod +x scripts/.local/bin/vfio.sh
chmod +x sway/.config/sway/autostart.sh
chmod +x waybar/.config/waybar/ivpn-reconnect.sh
chmod +x waybar/.config/waybar/ivpn-status.sh
chmod +x waybar/.config/waybar/mediaplayer.py
2021-10-02 22:50:53 +00:00
sleep 0.5
echo "Done!"