Add continue/cancel prompt to dconf-dump changes

This commit is contained in:
Sage Vaillancourt 2024-02-19 01:02:23 -05:00
parent 1e1ee467f6
commit aa95c7a9fe
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ function getdot {
echo "Incoming conf changes:"
echo
git --no-pager diff --no-index /tmp/current-dconf-dump /tmp/dconf-dump
echo
bash -c 'read -p "Press enter to continue, or Ctrl-C to cancel."' || return 1
echo "Applying changes..."
fi
dconf load / < /tmp/dconf-dump || return 1
else