dotfiles/install.sh

30 lines
806 B
Bash
Raw Normal View History

2021-10-02 22:50:53 +00:00
#!/bin/sh
echo -e "Configuring directories..."
mkdir -p $HOME/.config/zsh # Symlink only the individual files instead of the entire directory
DOTDIR=$(cd -- "$(dirname -- $0)" &> /dev/null && pwd)
sleep 0.5
2021-10-02 22:50:53 +00:00
echo -e "Creating the symlinks with stow..."
stow -d $DOTDIR -t $HOME alacritty \
mako \
nvim \
scripts \
sway \
swaylock \
waybar \
zsh
2021-10-02 22:50:53 +00:00
sleep 0.5
2021-10-02 22:50:53 +00:00
echo -e "Making scripts executable..."
chmod +x $DOTDIR/scripts/.local/bin/clear-clipboard.sh
chmod +x $DOTDIR/sway/.config/sway/autostart.sh
chmod +x $DOTDIR/waybar/.config/waybar/ivpn-status.sh
chmod +x $DOTDIR/waybar/.config/waybar/ivpn-reconnect.sh
chmod +x $DOTDIR/waybar/.config/waybar/mediaplayer.py
2021-10-02 22:50:53 +00:00
sleep 0.5
2021-10-02 22:50:53 +00:00
echo -e "Done!"