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

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