dotfiles/.chezmoiignore

58 lines
967 B
Plaintext

# .chezmoiignore
# https://www.chezmoi.io/reference/special-files-and-directories/chezmoiignore/
README.md
.bashrc
{{- if ne .chezmoi.osRelease.id "arch" }}
# Other than Arch Linux
.config/paru
{{- end }}
{{- if ne .chezmoi.hostname "arch" }}
.config/tmux/bootstraps # note that the pattern is not `dot_config/tmux/bootstraps`
{{- end }}
{{- if (not (eq .hosttype "desktop" "laptop")) }}
# Only for desktop or laptop (GUI)
.config/alacritty
.config/conky
.config/dunst
.config/fontconfig
.config/i3
.config/mpv
.config/polybar
.config/redshift
.config/rofi
.config/yt-dlp
.config/zathura
{{- end }}
{{- if eq .chezmoi.username "root" }}
# for `root` user
.config/*
# bashrc
!.bashrc
!.config/bash
.config/bash/bashrc
# fish-shell
!.config/fish
.config/fish/**/*
!.config/fish/config.fish
# starship
!.config/starship.toml
# nvim
!.config/nvim
.config/nvim/lua/lazy-setup.lua
.config/nvim/lua/plugins
.config/nvim/after/plugin
# git
!.config/git
{{- end }}