summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaïm Favier <fnaim42@gmail.com>2020-04-08 00:01:04 +0200
committerNaïm Favier <fnaim42@gmail.com>2020-04-08 00:01:04 +0200
commitab17e85caaa1b18abcc91696dffb619a748aa9e9 (patch)
tree90c9d4c83fde92ea6c6c07255c70d5ebf52228eb
parent29fe82478c582cf243218f65d563a24343f9595d (diff)
Love is in the offing. -- The Homicidal Maniac
-rwxr-xr-xscripts/refresh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/refresh b/scripts/refresh
index 2c36f1d..dd639b6 100755
--- a/scripts/refresh
+++ b/scripts/refresh
@@ -60,8 +60,8 @@ refresh_firefox() {
printf '%s\n' "$json"
done |
jq -cn --unbuffered --arg userChrome "$(< ~/.mozilla/firefox/"$profile"/chrome/userChrome.css)" \
- '{to: "root", type: "getProcess"},
- limit(1; inputs | {to: (.form.actor//empty), type: "getTarget"}),
+ '{to: "root", type: "getProcess", id: 0},
+ limit(1; inputs | {to: (.processDescriptor.actor//empty), type: "getTarget"}),
limit(1; inputs | {to: (.process.styleSheetsActor//empty), type: "getStyleSheets"}),
limit(1; inputs | {to: .styleSheets[]? | select(.href//empty | endswith("userChrome.css")).actor, type: "update", text: $userChrome, transition: "true"}),
(inputs | select(.type == "styleApplied") | halt)' |