From c4e81d4317d8afb58b56f0ac20f2120cb9e0a381 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 13 May 2022 22:24:48 +0200 Subject: [PATCH] Update dot_config/chezmoi/chezmoi.toml.tmpl.literal --- dot_config/chezmoi/chezmoi.toml.tmpl.literal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}