2022-05-21 00:17:40 -04:00
|
|
|
diff:
|
|
|
|
args: --color
|
|
|
|
pager: less -r
|
2022-07-20 20:04:11 -04:00
|
|
|
|
2022-07-20 23:11:57 -04:00
|
|
|
{{ $desktop := promptBool "desktop" false -}}
|
|
|
|
{{- $laptop := and $desktop (promptBool "laptop" false) -}}
|
|
|
|
{{- $emacs := and $desktop (promptBool "emacs" true) -}}
|
|
|
|
|
|
|
|
{{- $xdg_config_home := .chezmoi.homeDir | printf "%s/.config" -}}
|
|
|
|
{{- $xdg_cache_home := .chezmoi.homeDir | printf "%s/.cache" -}}
|
|
|
|
{{- $xdg_data_home := .chezmoi.homeDir | printf "%s/.local/share" -}}
|
|
|
|
{{- $xdg_runtime_dir := output "id" "-u" | trim | printf "/run/user/%s" -}}
|
|
|
|
|
2022-07-20 20:04:11 -04:00
|
|
|
data:
|
|
|
|
desktop: {{ $desktop }}
|
2022-07-20 20:31:07 -04:00
|
|
|
laptop: {{ $laptop }}
|
2022-07-20 20:04:11 -04:00
|
|
|
features:
|
2022-07-20 20:31:07 -04:00
|
|
|
ansible: {{ and $desktop (promptBool "ansible" true) }}
|
|
|
|
clevo: {{ and $laptop (promptBool "clevo keyboard" false) }}
|
|
|
|
optimus: {{ and $laptop (promptBool "optimus" false) }}
|
|
|
|
virtualbox: {{ and $desktop (promptBool "virtualbox" false) }}
|
|
|
|
xsane: {{ and $desktop (promptBool "xsane" false) }}
|
2023-10-07 15:04:26 -04:00
|
|
|
networkmanager: {{ and $desktop (promptBool "networkmanager" false) }}
|
2022-07-22 16:47:44 -04:00
|
|
|
vpn: {{ and $desktop (promptBool "vpn" false) }}
|
2022-07-20 20:39:01 -04:00
|
|
|
seafile: {{ and $desktop (promptBool "seafile" false) }}
|
2023-04-09 11:09:53 -04:00
|
|
|
activitywatch: {{ and $desktop (promptBool "activitywatch" false) }}
|
2023-10-12 13:59:38 -04:00
|
|
|
desktop_alias: {{ if $desktop -}}{{ (promptString "alias" "none") }}{{ else }}none{{ end }}
|
2022-07-20 20:04:11 -04:00
|
|
|
development:
|
2022-07-20 23:11:57 -04:00
|
|
|
|
|
|
|
{{- /* emacs implies that most development options are true */}}
|
2022-07-20 20:04:11 -04:00
|
|
|
emacs: {{ $emacs }}
|
2022-07-27 23:42:05 -04:00
|
|
|
ruby: {{ or $emacs (promptBool "ruby" true) }}
|
|
|
|
python: {{ or $emacs (promptBool "python" true) }}
|
|
|
|
rust: {{ or $emacs (promptBool "rust" true) }}
|
|
|
|
clojure: {{ or $emacs (promptBool "clojure" true) }}
|
|
|
|
latex: {{ or $emacs (promptBool "LaTeX" true) }}
|
|
|
|
r: {{ or $emacs (promptBool "R" true) }}
|
|
|
|
conda: {{ or $emacs (promptBool "conda" true) }}
|
2022-07-20 23:11:57 -04:00
|
|
|
|
|
|
|
{{- /* these aren't implied by emacs */}}
|
2022-07-27 23:42:05 -04:00
|
|
|
matlab: {{ or $emacs (promptBool "MATLAB" true) }}
|
2022-07-20 23:11:57 -04:00
|
|
|
github: {{ promptBool "GitHub" true }}
|
|
|
|
paths:
|
|
|
|
config: {{ $xdg_config_home }}
|
|
|
|
cache: {{ $xdg_cache_home }}
|
|
|
|
data: {{ $xdg_data_home }}
|
|
|
|
runtime: {{ $xdg_runtime_dir }}
|
|
|
|
stack: {{ $xdg_data_home }}/stack
|