-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.chezmoiignore.tmpl
58 lines (57 loc) · 1.24 KB
/
.chezmoiignore.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*-mode:conf-toml-*- vim:ft=gitignore
# repo related stuff
README.md
{{if ne .chezmoi.os "windows"}}
# if OS is not windows
Documents/
.glaze-wm/
AppData/
{{ if ne .shell "fish" }}
# if the shell is not fish
.config/omf
.config/fish
{{ end }}
{{- if eq .isServer "true" }}
# if this is a server
.Xresources
.config/alacritty
.config/aerc
.config/swaync
.config/hypr
.config/hyprland-autoname-workspaces
.config/dunst
.config/waybar
.config/i3
.config/polybar
.config/qutebrowser
.config/rofi
{{- end}}
{{- if eq .chassisType "vm" }}
# if this is a virtual machine ignore these files...
.config/hypr
.config/hyprland-autoname-workspaces
.config/waybar
.config/swaync
{{- else -}}
# if this is a physical machine
.Xresources
.config/dunst
.config/polybar
.config/i3
{{- end}}
{{- end}}
{{if eq .chezmoi.os "windows" -}}
# if this is a windows machine
.config/*
.Xresources
.hushlogin
!.config/git
!.config/qutebrowser
!.config/starship.toml
!Documents/
!.glaze-wm/
!AppData/
{{- end}}
# script related stuff
.chezmoiscripts/*/**
!.chezmoiscripts/{{ .chezmoi.os }}/**