Dotfiles for my tiling window manager + terminal workflow.
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.
 
 
 

13 lines
458 B

#!/bin/bash
# Get directory variables from script.
. ../scripts/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"/"$cur_dir" "$sys_config_dir"/"$cur_dir"
done