Update file run_onchange_after_25-gnome-extension-settings.tmpl

This commit is contained in:
Brian Zalewski 2023-01-10 04:04:45 +00:00
parent 7a8ce1fa3d
commit a47666e96d

View file

@ -13,7 +13,7 @@ fi
### Populate /tmp/install-gnome-extensions.txt with GNOME extensions that need to be installed
if [ -f "$HOME/.config/desktop/gnome.yml" ]; then
yq e -o=j "$HOME/.config/desktop/gnome.yml" | jq -cr '.default_gnome_extensions[]' | while read EXT; do
cat "$HOME/.config/desktop/gnome.yml" | yq e -o=j '.' | jq -cr '.default_gnome_extensions[]' | while read EXT; do
EXT_URL="$(echo "$EXT" | jq -r '.url')"
EXT_ID="$(echo "$EXT" | jq -r '.regex')"
echo "$EXT_URL" >> /tmp/install-gnome-extensions.txt
@ -45,7 +45,7 @@ fi
### Apply plugin gsettings
if [ -f "$HOME/.config/desktop/gnome.yml" ]; then
yq e -o=j "$HOME/.config/desktop/gnome.yml" | jq -cr '.default_gnome_extensions[]' | while read EXT; do
cat "$HOME/.config/desktop/gnome.yml" | yq e -o=j '.' | jq -cr '.default_gnome_extensions[]' | while read EXT; do
EXT_ID="$(echo "$EXT" | jq -r '.regex')"
EXT_SETTINGS="$(echo "$EXT" | jq -r '.settings')"
if [ "$EXT_SETTINGS" != 'null' ]; then