From 10b11164f78f4b04bf3265dc3f1ee013f5a5ce37 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Fri, 21 Jul 2023 13:23:41 -0700 Subject: [PATCH 1/2] chromium tweaks --- fish/chromium.fish | 4 ++-- fish/functions/pure | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fish/chromium.fish b/fish/chromium.fish index 169ac2423..750fc7286 100644 --- a/fish/chromium.fish +++ b/fish/chromium.fish @@ -37,7 +37,7 @@ end # needs `brew install watchexec`. https://watchexec.github.io/ function dtb --description "build devtools with a watch loop" set -l dir_default (grealpath $PWD/(git rev-parse --show-cdup)out/Default/) - set -l cmd "watchexec \"autoninja -C $dir_default\"" + set -l cmd "watchexec --ignore out \"autoninja -C $dir_default\"" echo " > $cmd" eval $cmd end @@ -67,7 +67,7 @@ function dtcr --description "run chrome with dev devtools" end # A lil landing page that gives me the local loadTimelineFromURL url to load directly (as we can't have chrome open it (or navigate to it)) - set -l landing_url "data:text/html;charset=utf-8,

hi.

" + set -l landing_url "data:text/html;charset=utf-8,

hi.

" set -l cmd "$crpath --custom-devtools-frontend=file://$dtpath --user-data-dir=$HOME/chromium-devtools/dt-chrome-profile $clutch_chrome_flags $argv '$landing_url'" echo " > $cmd" eval $cmd diff --git a/fish/functions/pure b/fish/functions/pure index 902829de6..565d85c4d 160000 --- a/fish/functions/pure +++ b/fish/functions/pure @@ -1 +1 @@ -Subproject commit 902829de6526fb855c99ad1012943f6cc2ec330c +Subproject commit 565d85c4d9df5e4676ad3e8a964482e5af681de8 From cc4c71912161a63a25280f2a4670bbf3d474d5f9 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 25 Jul 2023 07:10:17 -0700 Subject: [PATCH 2/2] chromium tweaks --- fish/chromium.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/chromium.fish b/fish/chromium.fish index 750fc7286..a16061508 100644 --- a/fish/chromium.fish +++ b/fish/chromium.fish @@ -45,7 +45,7 @@ end # https://github.com/GoogleChrome/chrome-launcher/blob/main/docs/chrome-flags-for-tools.md # # Avoid the startup dialog for 'Chromium wants to use your confidential information stored in "Chromium Safe Storage" in your keychain' # # Avoid the startup dialog for 'Do you want the application “Chromium.app” to accept incoming network connections?' -set clutch_chrome_flags "--use-mock-keychain --disable-features=DialMediaRouteProvider" +set clutch_chrome_flags "--use-mock-keychain --disable-features=DialMediaRouteProvider --disable-features=ProcessPerSiteUpToMainFrameThreshold" function cr --description "open built chromium (accepts runtime flags)"