-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsyncDots
executable file
·134 lines (98 loc) · 2.5 KB
/
syncDots
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#!/bin/bash
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "[-] Cleaning Existing Dots"
rm -f fehbg
rm -f init.vim
rm -f xinitrc
rm -f Xresources
rm -rf dwm/*
rm -rf dwmstatus/*
rm -rf st/*
rm -rf ranger/*
rm -rf zsh/*
rm -rf polybar/*
rm -rf bspwm/*
rm -rf neofetch/*
sleep 3
# compton
#cp -rf ${BASEDIR}/compton.conf $HOME/.config/compton.conf
# dunst
#cp -rf ${BASEDIR}/dunstrc $HOME/.config/dunstrc
# feh
cp -f $HOME/.fehbg ${BASEDIR}/fehbg
echo "[+] Syncing fehbg.."
# goobook
#cp -rf ${BASEDIR}/goobookrc $HOME/.goobookrc
# urlview
#cp -rf ${BASEDIR}/urlview $HOME/.urlview
# xinitrc
echo "[+] Syncing .xinitrc.."
cp -f $HOME/.xinitrc ${BASEDIR}/xinitrc
# Xresources
echo "[+] Syncing .Xresources.."
cp -f $HOME/.Xresources ${BASEDIR}/Xresources
# bin
#cp -rf ${BASEDIR}/bin $HOME/bin
# dropbox-cli
#cp -rf ${BASEDIR}/dropbox-cli $HOME/.dropbox-cli
# fontconfig
#cp -rf ${BASEDIR}/fontconfig $HOME/.config/fontconfig
# fonts
#cp -rf ${BASEDIR}/fonts $HOME/.fonts
# dwm
echo "[+] Syncing dwm.."
cp -rf $HOME/.dwm/* dwm
cp -rf $HOME/.dwmstatus/* dwmstatus
# st
echo "[+] Syncing st.."
cp -rf $HOME/.st/* st
# mpd
#cp -rf ${BASEDIR}/mpd $HOME/.mpd
# mpdscribble
#cp -rf ${BASEDIR}/mpdscribble $HOME/.mpdscribble
# mplayer
#cp -rf ${BASEDIR}/mplayer $HOME/.mplayer
# msmtp
#cp -rf ${BASEDIR}/msmtprc $HOME/.msmtprc
# mutt
#cp -rf ${BASEDIR}/mutt $HOME/.mutt
# ncmpcp -rfp
#cp -rf ${BASEDIR}/ncmpcp -rfp $HOME/.ncmpcp -rfp
# offlineimap
#cp -rf ${BASEDIR}/offlineimap.py $HOME/.offlineimap.py
#cp -rf ${BASEDIR}/offlineimaprc $HOME/.offlineimaprc
# pass
#cp -rf ${BASEDIR}/pass $HOME/.passwordtore
# qutebrowser
#cp -rf ${BASEDIR}/qutebrowser $HOME/.config/qutebrowser
# ranger
echo "[+] Syncing ranger.."
cp -rf $HOME/.config/ranger/* ranger
# browser homepage
#cp -rf ${BASEDIR}/startpage $HOME/.startpage
# todo
#cp -rf ${BASEDIR}/todo $HOME/.todo
# nvim
echo "[+] Syncing neovim.."
cp -rf $HOME/.config/nvim/init.vim init.vim
# weechat
#cp -rf ${BASEDIR}/weechat $HOME/.weechat
#Xresources.d
#cp -rf $HOME/.Xresources.d ${BASEDIR}/Xresources.d
# zsh
echo "[+] Syncing zsh and zprezto.."
cp -rf $HOME/.zprezto zsh/zprezto
cp -rf $HOME/.zshrc zsh/zshrc
# sxhkd
echo "[+] Syncing sxhkd.."
cp -rf $HOME/.config/sxhkd/* sxhkd
# polybar
echo "[+] Syncing polybar.."
cp -rf $HOME/.config/polybar/* polybar
#bspwm
echo "[+] Syncing bspwm.."
cp -rf $HOME/.config/bspwm/* bspwm
# neofetch
echo "[+] Syncing neofetch.."
cp -rf $HOME/.config/neofetch/* neofetch
sleep 2