dotfiles/symlinks.yaml
2023-04-10 15:25:40 +01:00

63 lines
1.8 KiB
YAML

- defaults:
link:
create: true
relink: true
- clean: ['~', '${XDG_CONFIG_HOME}']
- shell:
- description: Set XDG environmental variables
command: source ./config/zsh/.zshenv
# Symlink locations for files / directories
- link:
# Essential configs (ZSH, Vim, Tmux)
~/.zshenv: { path: config/zsh/.zshenv, force: true }
${XDG_CONFIG_HOME}/zsh: config/zsh
${XDG_CONFIG_HOME}/vim: config/vim
${XDG_CONFIG_HOME}/nvim: config/nvim
${XDG_CONFIG_HOME}/tmux: config/tmux
${XDG_CONFIG_HOME}/fish: config/fish
${XDG_DATA_HOME}/tmux/tpm: lib/tpm
${XDG_DATA_HOME}/tmux/plugins/tpm: lib/tpm
# Utility config files
${XDG_CONFIG_HOME}/bash/.bashrc: config/general/.bashrc
${XDG_CONFIG_HOME}/git/.gitconfig: config/general/.gitconfig
${XDG_CONFIG_HOME}/.gitignore_global: config/general/.gitignore_global
${XDG_CONFIG_HOME}/wget/.wgetrc: config/general/.wgetrc
# Desktop Apps
${XDG_CONFIG_HOME}/alacritty.yml: config/desktop-apps/alacritty.yml
# Bash utils
${XDG_CONFIG_HOME}/utils: utils
# MacOS-Only
${XDG_CONFIG_HOME}/yabai/yabairc:
if: '[ `uname` = Darwin ]'
path: config/macos/yabairc
${XDG_CONFIG_HOME}/skhd/skhdrc:
if: '[ `uname` = Darwin ]'
path: config/macos/skhdrc
~/.Brewfile:
if: '[ `uname` = Darwin ]'
path: scripts/installs/Brewfile
~/.finicky.js:
if: '[ `uname` = Darwin ]'
path: config/macos/.finicky.js
~/Library/Application\ Support/iTerm2/DynamicProfiles:
if: '[ `uname` = Darwin ]'
path: config/macos/iterm.json
${XDG_CONFIG_HOME}/zsh/.iterm2_shell_integration.zsh:
if: '[ `uname` = Darwin ]'
path: config/macos/iterm-shell-integration.zsh
# If not already present, create home directories
- create:
- ~/Downloads
- ~/Documents
- ~/Applications