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.
 
 
 

12 lines
468 B

# Get directory variables from script.
. ../dirs.sh
# List of config files in system config dir that I want to link to.
config_files="neofetch/config.conf i3/config i3blocks/i3blocks.conf "\
"sam-i3blocks/sam-i3blocks.conf"
for file in $config_files; do
# Remove system file.
rm "$sys_config_dir"/"$file"
# Link config file in repository to system config location.
ln -s "$config_dir"/"$pc"/$(echo "$file" | cut -d'/' -f 1).conf \
"$sys_config_dir"/"$file"
done