summary refs log tree commit diff
path: root/.chezmoi.toml.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '.chezmoi.toml.tmpl')
-rw-r--r--.chezmoi.toml.tmpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl
index d14b190..db5a9a4 100644
--- a/.chezmoi.toml.tmpl
+++ b/.chezmoi.toml.tmpl
@@ -5,6 +5,8 @@
 {{- $defaultUsername := .chezmoi.username | replaceAllRegex "^[^\\\\]+\\\\" "" }}
 {{- $defaultName := $defaultUsername | title -}}
 {{- $defaultEmail := printf "%s@%s" $defaultUsername .chezmoi.hostname -}}
+{{- $defaultTitlebarPlacement := "right" -}}
+{{- $titlebarPlacementChoices := list "left" "right" -}}
 
 [diff]
     pager = {{ promptString "chezmoi pager" $defaultPager | quote }}
@@ -23,10 +25,12 @@
 [data.ssh]
     user = {{ promptString "SSH default user" $defaultUsername | quote }}
 
-{{ if lookPath "dconf" -}}
+{{ if lookPath "dconf" }}
 [data.gnome]
-    buttonLayout = {{ promptString "GNOME WM button layout" "close,appmenu:" | quote }}
-{{- end }}
+    buttonLayout = {{ promptString "GNOME WM button layout" "close,appmenu" | quote }}
+    naturalScroll = {{ promptBool "GNOME mouse natural scroll" true }}
+    titlebarButtonPlacement = {{ promptChoice "GNOME titlebar button placement" $titlebarPlacementChoices $defaultTitlebarPlacement | quote }}
+{{ end }}
 
 [data.nano]
     config = "dot_config/nano/alen.json"