2021-10-02 22:50:53 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-12-22 23:55:07 +00:00
|
|
|
echo -e "Configuring directories..."
|
|
|
|
DOTDIR=$(cd -- "$(dirname -- $0)" &> /dev/null && pwd)
|
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
|
2021-12-22 23:55:07 +00:00
|
|
|
|
|
|
|
sleep 0.5
|
2021-10-02 22:50:53 +00:00
|
|
|
echo -e "Creating the symlinks with stow..."
|
|
|
|
|
2021-12-30 14:50:38 +00:00
|
|
|
stow -d $DOTDIR -t $HOME --ignore="README.md" alacritty \
|
2021-12-24 00:16:07 +00:00
|
|
|
mako \
|
|
|
|
nvim \
|
|
|
|
scripts \
|
|
|
|
sway \
|
|
|
|
swaylock \
|
2021-12-25 17:08:54 +00:00
|
|
|
swaynag \
|
2021-12-24 00:16:07 +00:00
|
|
|
waybar \
|
|
|
|
zsh
|
2021-10-02 22:50:53 +00:00
|
|
|
|
2021-12-22 23:55:07 +00:00
|
|
|
sleep 0.5
|
2021-10-02 22:50:53 +00:00
|
|
|
echo -e "Making scripts executable..."
|
|
|
|
|
2021-12-22 23:55:07 +00:00
|
|
|
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
|
|
|
|
2021-12-22 23:55:07 +00:00
|
|
|
sleep 0.5
|
2021-10-02 22:50:53 +00:00
|
|
|
echo -e "Done!"
|