You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
443 B
11 lines
443 B
# Get directory variables from script.
|
|
. ../dirs.sh
|
|
# List of config dirs in system config dir that I want to link to.
|
|
# config_dirs=(neofetch i3 i3blocks sam-i3blocks ranger)
|
|
config_dirs=(neofetch i3 i3blocks ranger)
|
|
for cur_dir in $config_dirs; do
|
|
# Remove system file.
|
|
rm -rf "$sys_config_dir"/"$cur_dir"
|
|
# Link config file in repository to system config location.
|
|
ln -s "$config_dir"/"$pc"/"$cur_dir" "$sys_config_dir"/"$cur_dir"
|
|
done
|