diff --git a/dot_config/chezmoi/chezmoi.toml.tmpl.literal b/dot_config/chezmoi/chezmoi.toml.tmpl.literal index 12bf980..fb401b4 100644 --- a/dot_config/chezmoi/chezmoi.toml.tmpl.literal +++ b/dot_config/chezmoi/chezmoi.toml.tmpl.literal @@ -1,8 +1,8 @@ -{{- $wm := (output "bash" "-c" "echo $DESKTOP_SESSION") -}} +{{- $wm := (output "bash" "-c" "echo -n $DESKTOP_SESSION") -}} [git] autoCommit = true autoPush = true [data] - wm = {{ $wm | replace "\n" "" | quote }} + wm = {{ $wm | quote }}