aboutsummaryrefslogtreecommitdiff
path: root/update.sh
blob: 68430b17eb6c7a1c5d77e7605b28146c5f129ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

# important config files
echo copying files...
cp ~/.config/alacritty.toml ./alacritty/alacritty.toml
cp ~/.config/tmux/tmux.conf ./tmux
cp ~/.vimrc ./vim
cp ~/.vim/coc-settings.json ./vim
cp -r ~/.vim/after ./vim
cp ~/.xinitrc* ./x
cp ~/.Xresources ./x
cp ~/.Xmodmap ./x
cp ~/bin/spawn-alacritty ./x
cp ~/bin/quitconf ./x
cp ~/bin/battery ./x
cp ~/bin/startdwm ./x
cp ~/.config/xmobar/xmobar.hs ./xmobar
cp ~/.config/xmonad/xmonad.hs ./xmonad
cp ~/.config/VSCodium/User/settings.json ./vscode
cp ~/.profile ./sh
cp ~/.bash_profile ./sh/bash
cp ~/.bashrc ./sh/bash
cp ~/.config/dunst/dunstrc ./dunst
cp ~/.config/htop/htoprc ./htop
cp ~/.config/doom/* ./doom

# update submodules
echo pulling submodules...
git submodule update --remote --merge