mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2026-05-21 11:35:24 +00:00
add clear on exit
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
# Set Chromium on exit
|
||||
FILE="$HOME/Library/Application Support/Chromium/Local State"
|
||||
jq '.browser.enabled_labs_experiments //= [] | .browser.enabled_labs_experiments |= map(select(startswith("clear-data-on-exit") | not)) + ["clear-data-on-exit@1"]' "$FILE" | sponge "$FILE"
|
||||
Reference in New Issue
Block a user