Replace 'brave-launcher' script
This commit is contained in:
1 parent
d81fc79294
commit
794b766c24
2 files changed
+3
-9
No files matched your search
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
/usr/bin/brave "$@" --use-gl=desktop
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
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="$(sed 's/#.*//' < "$BRAVE_USER_FLAGS_FILE")"
|
||||
fi
|
||||
|
||||
/usr/bin/brave "$@" "$USER_FLAGS"
|
||||
Reference in new issue
Block a user