Update file run_onchange_after_25-gnome-extension-settings.tmpl
This commit is contained in:
parent
7a8ce1fa3d
commit
a47666e96d
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ fi
|
||||||
|
|
||||||
### Populate /tmp/install-gnome-extensions.txt with GNOME extensions that need to be installed
|
### Populate /tmp/install-gnome-extensions.txt with GNOME extensions that need to be installed
|
||||||
if [ -f "$HOME/.config/desktop/gnome.yml" ]; then
|
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_URL="$(echo "$EXT" | jq -r '.url')"
|
||||||
EXT_ID="$(echo "$EXT" | jq -r '.regex')"
|
EXT_ID="$(echo "$EXT" | jq -r '.regex')"
|
||||||
echo "$EXT_URL" >> /tmp/install-gnome-extensions.txt
|
echo "$EXT_URL" >> /tmp/install-gnome-extensions.txt
|
||||||
|
@ -45,7 +45,7 @@ fi
|
||||||
|
|
||||||
### Apply plugin gsettings
|
### Apply plugin gsettings
|
||||||
if [ -f "$HOME/.config/desktop/gnome.yml" ]; then
|
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_ID="$(echo "$EXT" | jq -r '.regex')"
|
||||||
EXT_SETTINGS="$(echo "$EXT" | jq -r '.settings')"
|
EXT_SETTINGS="$(echo "$EXT" | jq -r '.settings')"
|
||||||
if [ "$EXT_SETTINGS" != 'null' ]; then
|
if [ "$EXT_SETTINGS" != 'null' ]; then
|
||||||
|
|
Loading…
Reference in a new issue