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

  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. "sam-i3blocks/sam-i3blocks.conf"
  6. for file in $config_files; do
  7. # Remove system file.
  8. rm "$sys_config_dir"/"$file"
  9. # Link config file in repository to system config location.
  10. ln -s "$config_dir"/"$pc"/$(echo "$file" | cut -d'/' -f 1).conf \
  11. "$sys_config_dir"/"$file"
  12. done