From 1cbb8baa917b431975e7be191d5559e6fd881fc4 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Mon, 8 May 2023 11:25:50 +0200 Subject: [PATCH] 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. --- .config/shell/utils.d/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/shell/utils.d/update.sh b/.config/shell/utils.d/update.sh index 42951ec..31c2d88 100644 --- a/.config/shell/utils.d/update.sh +++ b/.config/shell/utils.d/update.sh @@ -131,7 +131,7 @@ _update_python() { -_restore_gnome() { +restore-gnome() { for file in $HOME/.config/gnome-settings/*.ini; do dconf load / < $file done @@ -178,7 +178,7 @@ update-machine() { _update_repositories _update_zsh _update_python - _restore_gnome + restore-gnome _fix_locations run-private-scripts