diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-09 16:27:28 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-09 16:27:28 +0100 |
commit | ff6671f5abdf8b01b405ea3e39c20191a0cf757c (patch) | |
tree | 0a619a5639e5aa4176cec9c38fab1869fa4ff275 /.local/share/bin/brave | |
parent | 5996461915478909d514ad021b026ec0925298e5 (diff) |
WIP brave theme reload
Diffstat (limited to '.local/share/bin/brave')
-rwxr-xr-x | .local/share/bin/brave | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/.local/share/bin/brave b/.local/share/bin/brave index c645f54..966b990 100755 --- a/.local/share/bin/brave +++ b/.local/share/bin/brave @@ -1,9 +1,7 @@ #!/bin/sh - -XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" -BRAVE_USER_FLAGS_FILE="$XDG_CONFIG_HOME/brave-flags.conf" -if [[ -f $BRAVE_USER_FLAGS_FILE ]]; then - USER_FLAGS="$(cat $BRAVE_USER_FLAGS_FILE | sed 's/#.*//')" -fi - -/usr/bin/brave $@ $USER_FLAGS +# the remote debugging is so brave can be hooked into by +# ~/.local/share/mode/reload.d/brave. this is probaby bad for security if +# you're not the only user on the system +/usr/bin/brave \ + --remote-debugging-port=9222 + "$@" |