dotfiles/symlinks.yaml
2022-09-13 13:29:13 +01:00

46 lines
1.2 KiB
YAML

- defaults:
link:
create: true
relink: true
- clean: ['~', '${XDG_CONFIG_HOME}']
- shell:
# Before symlinking, source .zshenv in order to set XDG variables
- description: Set XDG environmental variables
command: source ./zsh/.zshenv
- link:
~/.zshenv:
path: zsh/.zshenv
force: true
${XDG_CONFIG_HOME}/zsh: zsh
${XDG_CONFIG_HOME}/vim: vim
${XDG_CONFIG_HOME}/nvim: vim
${XDG_CONFIG_HOME}/bash: bash
${XDG_DATA_HOME}/tmux/plugins/tpm: tpm
${XDG_CONFIG_HOME}/tmux/tmux.conf: tmux/tmux.conf
${XDG_CONFIG_HOME}/utils: utils
~/.gitconfig: configs/.gitconfig
${XDG_CONFIG_HOME}/.gitignore_global: configs/.gitignore_global
# ${XDG_CONFIG_HOME}/curl/.curlrc: configs/.curlrc
$XDG_CONFIG_HOME/yabai/yabairc:
if: '[ `uname` = Darwin ]'
path: configs/macos/yabairc
$XDG_CONFIG_HOME/skhd/skhdrc:
if: '[ `uname` = Darwin ]'
path: configs/macos/skhdrc
~/.Brewfile:
if: '[ `uname` = Darwin ]'
path: installs/.Brewfile
~/.macos:
if: '[ `uname` = Darwin ]'
path: configs/macos/.macos
~/.finicky.js:
if: '[ `uname` = Darwin ]'
path: configs/macos/.finicky.js
- create:
- ~/Downloads
- ~/Documents
- ~/Applications