dont configure gnome when on wsl
This commit is contained in:
parent
36b6c06ca5
commit
fab2ef5b78
2 changed files with 3 additions and 1 deletions
2
.chezmoi.toml.tmpl
Normal file
2
.chezmoi.toml.tmpl
Normal file
|
@ -0,0 +1,2 @@
|
|||
[data]
|
||||
is_wsl = {{ (.chezmoi.kernel.osrelease | regexMatch "-microsoft-standard$") }}
|
|
@ -1,4 +1,4 @@
|
|||
{{- if and (eq .chezmoi.os "linux") -}}
|
||||
{{- if and (eq .chezmoi.os "linux") (not .is_wsl) -}}
|
||||
#!/bin/sh
|
||||
|
||||
dconf load /org/gnome/ <<EOF
|
||||
|
|
Loading…
Reference in a new issue