2020-03-13 13:18:30 +01:00
|
|
|
#!/usr/bin/env sh
|
2020-03-08 19:00:12 +01:00
|
|
|
|
2020-03-10 20:24:26 +01:00
|
|
|
echo "Adding configs to dotfiles repo..."
|
2020-03-13 13:18:30 +01:00
|
|
|
|
2020-03-08 19:00:12 +01:00
|
|
|
cd ~
|
2020-03-17 18:14:29 +01:00
|
|
|
cp .zshrc .Xresources .profile .shellrc .bashrc .zprofile .bash_profile .local/share/TelegramDesktop/tdata/shortcuts-custom.json ~/Dotfiles/botfiles/ &>/dev/null
|
2020-03-11 17:22:29 +01:00
|
|
|
cd ~/.scripts/
|
2020-03-13 12:45:30 +01:00
|
|
|
cp lockscreen powermenu screenshot update-check updater websearch ~/Dotfiles/botfiles/.scripts/ &>/dev/null
|
2020-03-11 17:22:29 +01:00
|
|
|
cd ~/.config
|
2020-03-13 13:18:30 +01:00
|
|
|
|
|
|
|
if [ "$HOSTNAME" = "pc" ]; then
|
|
|
|
cat sxhkd/sxhkdrc > sxhkd/sxhkdrc.pc
|
|
|
|
cat polybar/config > polybar/config.pc
|
|
|
|
elif [ "$HOSTNAME" = "laptop" ]; then
|
|
|
|
cat sxhkd/sxhkdrc > sxhkd/sxhkdrc.laptop
|
|
|
|
cat polybar/config > polybar/config.laptop
|
|
|
|
fi
|
|
|
|
|
2020-03-16 22:40:14 +01:00
|
|
|
cp -r autostart bspwm dconf dunst gtk-3.0 gtk-2.0 homepage mpd ncmpcpp neofetch nvim picom polybar qutebrowser ranger rofi sxhkd vifm vis vlc wallpapers yay zsh ~/Dotfiles/botfiles/.config/ &>/dev/null
|
2020-03-09 20:31:11 +01:00
|
|
|
cd ~/Dotfiles/botfiles/.config/
|
2020-03-16 22:40:14 +01:00
|
|
|
rm -rf nvim/bundle zsh/plugins mpd/database zsh/history mpd/mpd.log mpd/pid mpd/state mpd/sticker.sql vis/vis.log ncmpcpp/lyrics sxhkd/sxhkdrc polybar/config vifm/vifminfo
|
2020-03-13 13:18:30 +01:00
|
|
|
|
2020-03-10 20:24:26 +01:00
|
|
|
echo "Done."
|