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.

11 lines
433 B

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