diff options
author | Loek Le Blansch <l.leblansch@gmail.com> | 2020-06-21 22:05:17 +0200 |
---|---|---|
committer | Loek Le Blansch <l.leblansch@gmail.com> | 2020-06-21 22:05:17 +0200 |
commit | 47a4416df21412a9184a9b5045233260c1cb80bb (patch) | |
tree | bd5463ec7698868ab61d84a1ae0af1ebd4984ce8 /.local/share/bin/brave |
dots v2
Diffstat (limited to '.local/share/bin/brave')
-rwxr-xr-x | .local/share/bin/brave | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.local/share/bin/brave b/.local/share/bin/brave new file mode 100755 index 0000000..c645f54 --- /dev/null +++ b/.local/share/bin/brave @@ -0,0 +1,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 |