-
Notifications
You must be signed in to change notification settings - Fork 0
/
CreateSymLinks.sh
executable file
·45 lines (41 loc) · 1.4 KB
/
CreateSymLinks.sh
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
#!/bin/bash
configFiles=(
.xinitrc
.Xmodmap
.xscreensaver
.zshrc
.config/cava/config
.config/tilda/config_cava
.config/xfce4/terminal/terminalrc
.config/xfce4/panel/whiskermenu-1.rc
.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml
.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml
.config/xfce4/xfconf/xfce-perchannel-xml/ristretto.xml
.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
.config/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
.config/yay/config.json
.conky/conky-startup.sh
.stellarium/config.ini
".conky/4 & 2 core blue/conkyrc2core"
'.themes/Circela Mod/xfwm4/*'
)
IFS=""
for f in ${configFiles[*]}
do
printf "Working on: %s\n" $f
if ! [ -d "$(dirname $HOME/$f)" ]; then
mkdir -p "$(dirname $HOME/$f)"
fi
ln -sf "$PWD/$f" "$HOME/$f"
done
# Move RunCava.sh to usr/bin directory
sudo ln -sf "$PWD/RunCava.sh" "/usr/bin/RunCava.sh"