-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.chezmoi.jsonc.tmpl
227 lines (222 loc) · 8.31 KB
/
.chezmoi.jsonc.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
{{- $isPersonal := promptBoolOnce . "isPersonal" "Is this device for use by Evangelos Lioudakis specifically?" -}}
{{- $isLaptop := promptBoolOnce . "isLaptop" "Is this a laptop?" -}}
{{- $isHeadless := false -}}
{{- if not $isLaptop }}
{{- $isHeadless = promptBoolOnce . "isHeadless" "Is this a headless server?" -}}
{{- end -}}
{{- $isHacking := promptBoolOnce . "isHacking" "Is this computer going to be used for Hacking and CTFs?" -}}
{{- $isAsus := promptBoolOnce . "isAsus" "Is this an Asus computer" -}}
{{- $isNvidiaGPU := promptBoolOnce . "isNvidiaGPU" "Does this computer have an Nvidia GPU" -}}
{{- $isIntelGPU := promptBoolOnce . "isIntelGPU" "Does this computer have an Intel GPU" -}}
{{- $isAmdGPU := promptBoolOnce . "isAmdGPU" "Does this computer have an AMD GPU" -}}
{{- $isWindows := eq .chezmoi.os "windows" }}
{{- $isMac := eq .chezmoi.os "darwin" }}
{{- $isLinux := eq .chezmoi.os "linux" }}
{{- $osID := "" }}
{{- if (and (eq .chezmoi.os "linux") (hasKey .chezmoi.osRelease "id")) }}
{{- $osID = printf "%s-%s" .chezmoi.os .chezmoi.osRelease.id }}
{{- end }}
{{- $MOD := "$MOD" }}
{{- $SHIFT_MOD := "$SHIFT_MOD" }}
{{- $SEP := "," }}
{{- $fullname := promptStringOnce . "fullname" "Full name" -}}
{{- $email := promptStringOnce . "email" "Email address" -}}
"data": {
"isHeadless": {{ $isHeadless }},
"isPersonal": {{ $isPersonal }},
"isLaptop": {{ $isLaptop }},
"isHacking": {{ $isHacking }},
"isAsus": {{ $isAsus }},
"isNvidiaGPU": {{ $isNvidiaGPU }},
"isIntelGPU": {{ $isIntelGPU }},
"isAmdGPU": {{ $isAmdGPU }},
"isWindows": {{ $isWindows }},
"isMac": {{ $isMac }},
"isLinux": {{ $isLinux }},
"osID": {{ $osID |quote }},
"fullname": {{ $fullname | quote }},
"email": {{ $email | quote }},
"applications": {
"terminal": {
"linux": {
"name": "Ghostty",
"command": "ghostty",
"class": "com.mitchellh.ghostty",
"desktop_name": "com.mitchellh.ghostty"
},
"keybinding": "{{$MOD}}{{$SEP}}T",
"keybinding_command": "raise --launch ghostty --class com.mitchellh.ghostty",
"keybinding_new": "{{$SHIFT_MOD}}{{$SEP}}T",
"keybinding_new_command": "ghostty"
},
"editor": {
"linux": {
"name": "visual-studio-code-insiders",
"command": "code-insiders",
"class": "code-insiders-url-handler"
},
"windows": {
"name": "code-insiders",
"command": "code-insiders",
"class": "code-insiders-url-handler"
},
"keybinding": "{{$MOD}}{{$SEP}}C",
"keybinding_command": "raise --launch code-insiders --class code-insiders-url-handler",
"keybinding_new": "{{$SHIFT_MOD}}{{$SEP}}C",
"keybinding_new_command": "code-insiders"
},
"browser": {
"linux": {
"name": "thorium-browser",
"command": "thorium-browser",
"class": "thorium-browser"
},
"windows": {
"name": "thorium-browser",
"command": "thorium-browser",
"class": "thorium-browser"
},
"keybinding": "{{$MOD}}{{$SEP}}B",
"keybinding_command": "raise --launch thorium-browser --class thorium-browser",
"keybinding_new": "{{$SHIFT_MOD}}{{$SEP}}B",
"keybinding_new_command": "thorium-browser"
},
"filemanager": {
"linux": {
"name": "nemo",
"command": "nemo",
"class": "nemo"
},
"windows": {
"name": "explorer",
"command": "explorer.exe",
"class": "explorer"
},
"keybinding": "{{$MOD}}{{$SEP}}E",
"keybinding_command": "raise --launch nemo --class nemo",
"keybinding_new": "{{$SHIFT_MOD}}{{$SEP}}E",
"keybinding_new_command": "nemo"
},
"imageviewer": {
"linux": {
"name": "imv",
"command": "imv",
"class": "imv"
},
"windows": {
"name": "imv",
"command": "imv",
"class": "imv"
}
},
"videoplayer": {
"linux": {
"name": "vlc",
"command": "vlc",
"class": "vlc"
},
"windows": {
"name": "vlc",
"command": "vlc",
"class": "vlc"
}
},
"musicplayer": {
"linux": {
"name": "spotube",
"command": "spotube",
"class": "spotube"
},
"windows": {
"name": "spotube",
"command": "spotube",
"class": "spotube"
}
},
"notes": {
"keybinding": "{{$MOD}}{{$SEP}}N",
"keybinding_command": "raise --launch obsidian --class obsidian",
"linux": {
"name": "obsidian",
"command": "obsidian",
"class": "obsidian"
},
},
"burp": {
"linux": {
"name": "burp",
"command": "burp",
"class": "burp-StartBurp"
},
"keybinding": "{{$MOD}}{{$SEP}}X",
"keybinding_command": "raise --launch burp --class burp-StartBurp"
}
},
"utilities": {
"lockscreen": {
"description": "Lock the screen",
"keybinding": "{{$MOD}}{{$SEP}}L",
"linux": {
"name": "swaylock",
"command": "pidof swaylock || swaylock",
"class": "swaylock"
}
},
"launcher": {
"description": "Open the launcher",
"keybinding": "{{$MOD}}{{$SEP}}SPACE",
"linux":{
"name": "launcher",
"command": "/usr/bin/walker",
// /usr/bin/agsv1 -c ~/.config/ags/config.js -b jakoolkit -t overview
"class": "ags"
}
},
"clipboard": {
"description": "Open the clipboard manager",
"keybinding": "{{$MOD}}{{$SEP}}V",
"linux": {
"name": "clip-menu",
"command": "clip-menu",
"class": "clip-menu"
}
},
"colorpicker": {
"description": "Open the colorpicker",
"keybinding": "{{$MOD}}{{$SEP}}C",
"linux": {
"name": "colorpicker",
"command": "colorpicker",
"class": "colorpicker"
}
},
"screenshot": {
"description": "Take an interactive screenshot",
"keybinding": "{{$SEP}}F12",
"linux": {
"name": "flameshot",
"command": "flameshot gui --raw | copy",
"class": "flameshot"
}
},
"ocr": {
"description": "Perform OCR on a screen selection",
"keybinding": "{{$MOD}}{{$SEP}}O",
"linux": {
"name": "wl-ocr",
"command": "wl-ocr",
"class": "wl-ocr"
},
"windows": {
"name": "wl-ocr",
"command": "wl-ocr",
"class": "wl-ocr"
}
}
}
},
"github": {
"refreshPeriod": "12h"
}
}