From 6139fab2619341c674e396d70a4b290b565c7607 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Thu, 21 Sep 2023 08:00:01 +0200 Subject: [PATCH] ignore graphical config for wsl2 --- .chezmoiignore | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/.chezmoiignore b/.chezmoiignore index 9635603..4f52741 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -1,10 +1,26 @@ README.md screenshots packages + {{ if eq .chezmoi.os "windows" }} - ** - !.gitconfig -# else is necessary because windows does not have a .chezmoi.osrelease - {{ else if not (.chezmoi.kernel.osrelease | lower | contains "wsl2") }} - private_dot_gnupg +** +!.gitconfig + +{{ else if (.chezmoi.kernel.osrelease | lower | contains "wsl2") }} +.config/dunst +.config/gtk-3.0 +.config/hypr +.config/kitty +.config/qt5ct +.config/swaylock +.config/systemd +.config/waybar +.config/wofi +.config/mimeapps.list +.emacs.d +.scripts +.gtkrc-2.0 + +{{ else if eq .chezmoi.os "linux" or eq .chezmoi.os "darwin" }} +.gnupg {{ end }}