From 10c31dee8497dee2d08abeb4f5190d3e1eed671f Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Fri, 14 Jul 2023 12:34:31 -0700 Subject: [PATCH] Update user-dirs --- ...s.dirs.tmpl => private_user-dirs.dirs.tmpl} | 18 +++++++++--------- dot_config/user-dirs.locale.tmpl | 4 +--- 2 files changed, 10 insertions(+), 12 deletions(-) rename dot_config/{user-dirs.dirs.tmpl => private_user-dirs.dirs.tmpl} (73%) diff --git a/dot_config/user-dirs.dirs.tmpl b/dot_config/private_user-dirs.dirs.tmpl similarity index 73% rename from dot_config/user-dirs.dirs.tmpl rename to dot_config/private_user-dirs.dirs.tmpl index 5d9daac..e2b4f25 100644 --- a/dot_config/user-dirs.dirs.tmpl +++ b/dot_config/private_user-dirs.dirs.tmpl @@ -8,15 +8,15 @@ # absolute path. No other format is supported. #{{ if eq .chezmoi.os "linux" -}} -XDG_DESKTOP_DIR=$HOME/desktop -XDG_DOCUMENTS_DIR=$HOME/documents -XDG_DOWNLOAD_DIR=$HOME/downloads -XDG_MUSIC_DIR=$HOME/music -XDG_PICTURES_DIR=$HOME/pictures -XDG_PODCAST_DIR=$HOME/podcasts -XDG_PUBLICSHARE_DIR=$HOME/public -XDG_TEMPLATES_DIR=$HOME/templates -XDG_VIDEOS_DIR=$HOME/videos +XDG_DESKTOP_DIR="$HOME/desktop" +XDG_DOWNLOAD_DIR="$HOME/downloads" +XDG_TEMPLATES_DIR="$HOME/templates" +XDG_PUBLICSHARE_DIR="$HOME/public" +XDG_DOCUMENTS_DIR="$HOME/documents" +XDG_MUSIC_DIR="$HOME/music" +XDG_PICTURES_DIR="$HOME/pictures" +XDG_VIDEOS_DIR="$HOME/videos" +XDG_PODCAST_DIR="$HOME/podcasts" #{{- else if eq .chezmoi.os "darwin" -}} XDG_DESKTOP_DIR=$HOME/Desktop XDG_DOCUMENTS_DIR=$HOME/Documents diff --git a/dot_config/user-dirs.locale.tmpl b/dot_config/user-dirs.locale.tmpl index 3868b44..50c2f2d 100644 --- a/dot_config/user-dirs.locale.tmpl +++ b/dot_config/user-dirs.locale.tmpl @@ -1,3 +1 @@ -{{ if eq .chezmoi.os "linux" -}} -en_US -{{- end }} +{{- if eq .chezmoi.os "linux" }}en_US{{ end -}}