diff --git a/.chezmoitemplates/gnome_after b/.chezmoitemplates/gnome_after new file mode 100644 index 0000000..1a34245 --- /dev/null +++ b/.chezmoitemplates/gnome_after @@ -0,0 +1 @@ +sudo systemctl enable --now gdm.service \ No newline at end of file diff --git a/.chezmoitemplates/gnome_before b/.chezmoitemplates/gnome_before index e69de29..f14390b 100644 --- a/.chezmoitemplates/gnome_before +++ b/.chezmoitemplates/gnome_before @@ -0,0 +1,2 @@ +# All requirements for gnome +packages+=(gnome gnome-tweaks) \ No newline at end of file diff --git a/run_once_prepare_arch.sh.tmpl b/run_once_prepare_arch.sh.tmpl index d2e4c59..a5433fc 100644 --- a/run_once_prepare_arch.sh.tmpl +++ b/run_once_prepare_arch.sh.tmpl @@ -32,8 +32,10 @@ if [ ! -d ~/.tmux/plugins/tpm ]; then git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm fi -{{- if eq .wm "i3wm" -}} +{{ if eq .wm "i3wm" }} {{- template "i3wm_after" -}} -{{- end -}} +{{ else if eq .wm "gnome" }} +{{- template "gnome_after" -}} +{{ end }} {{- end -}}