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
437 B

  1. # Get directory variables from script.
  2. . ../dirs.sh
  3. # List of config dirs in system config dir that I want to link to.
  4. config_dirs=(neofetch i3 i3blocks sam-i3blocks ranger)
  5. # config_dirs=(neofetch i3 i3blocks ranger)
  6. for cur_dir in $config_dirs; do
  7. # Remove system file.
  8. rm -rf "$sys_config_dir"/"$cur_dir"
  9. # Link config file in repository to system config location.
  10. ln -s "$config_dir"/"$cur_dir" "$sys_config_dir"/"$cur_dir"
  11. done