aboutsummaryrefslogtreecommitdiff
path: root/.local/share/bin/brave
blob: c645f54814bc01a4efd88f2d7f2345f828ae1003 (plain)
1
2
3
4
5
6
7
8
9
#!/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