summaryrefslogtreecommitdiff
path: root/archsetup
diff options
context:
space:
mode:
Diffstat (limited to 'archsetup')
-rwxr-xr-xarchsetup5
1 files changed, 5 insertions, 0 deletions
diff --git a/archsetup b/archsetup
index 97d6e92..e5ab2e7 100755
--- a/archsetup
+++ b/archsetup
@@ -847,6 +847,11 @@ user_customizations() {
(sudo -u "$username" update-desktop-database "/home/$username/.local/share/applications" \
>> "$logfile" 2>&1 ) || true
+ # GTK file chooser settings (stored in dconf, can't be stowed)
+ action="configuring GTK file chooser" && display "task" "$action"
+ (sudo -u "$username" dbus-launch dconf write /org/gtk/settings/file-chooser/sort-directories-first true \
+ >> "$logfile" 2>&1 ) || error_warn "$action" "$?"
+
action="restoring dotfile versions" && display "task" "$action"
(cd "$dotfiles_dir" && git config --global --add safe.directory "$user_archsetup_dir" && \
git restore . >> "$logfile" 2>&1 ) || error_warn "$action" "$?"