Make restore-gnome a public utility

Until now, `_restore_gnome` was only triggered during `update-machine`.
Yet, sometimes I use this function manually, for example, whenever
I play around with Gnome's settings and extensions.
This commit is contained in:
Alexander Hess 2023-05-08 11:25:50 +02:00
parent a056361112
commit 1cbb8baa91
Signed by: alexander
GPG key ID: 344EA5AB10D868E0

View file

@ -131,7 +131,7 @@ _update_python() {
_restore_gnome() { restore-gnome() {
for file in $HOME/.config/gnome-settings/*.ini; do for file in $HOME/.config/gnome-settings/*.ini; do
dconf load / < $file dconf load / < $file
done done
@ -178,7 +178,7 @@ update-machine() {
_update_repositories _update_repositories
_update_zsh _update_zsh
_update_python _update_python
_restore_gnome restore-gnome
_fix_locations _fix_locations
run-private-scripts run-private-scripts