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.

27 lines
696 B

  1. # dotfiles
  2. dot_dir=~/linux-config
  3. dotfiles="bashrc gitconfig inputrc vimrc"
  4. cd $dot_dir
  5. for dotfile in $dotfiles; do
  6. rm ~/.$dotfile
  7. ln -s $dot_dir/.$dotfile ~/.$dotfile
  8. done
  9. # config files
  10. dot_dir=~/linux-config
  11. config_dir=~/.config
  12. pc=$(hostname)
  13. config_files="neofetch/config.conf i3/config i3blocks/i3blocks.conf"
  14. for file in $config_files; do
  15. rm $config_dir/$file
  16. ln -s $dot_dir/"$pc"-$(echo $file | cut -d'/' -f 1).conf $config_dir/$file
  17. # echo $(echo $file | cut -d'/' -f 1)
  18. done
  19. # terminator
  20. dot_dir=~/linux-config
  21. config_dir=~/.config/
  22. # term_dir=~/.config/terminator
  23. pc=$(hostname)
  24. rm "$dot_dir"/"$pc"-terminator
  25. cp "$config_dir"/terminator/config $dot_dir/"$pc"-terminator