From 632806f79f995c40a4531a9e76b02dc76cb0fc0d Mon Sep 17 00:00:00 2001 From: pvincent Date: Wed, 4 Aug 2021 01:36:58 +0400 Subject: [PATCH] favourite apps --- src/main | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main b/src/main index 15f921b..aa7014b 100755 --- a/src/main +++ b/src/main @@ -250,7 +250,14 @@ for addon_id in "${!FIREFOX_ADDONS[@]}"; do fi done - +echo # favourite apps +echo #================ +runvoid "gsettings get org.gnome.shell favorite-apps | grep firefox-esr" +if [[ "$runVoidError" == 0 ]]; then + gsettings set org.gnome.shell favorite-apps "['org.gnome.Nautilus.desktop','firefox-stable.desktop','org.gnome.Software.desktop']" +else + echo "preserve existing apps!" +fi echo echo