ENH update workstation brave config
This commit is contained in:
parent
ee93db11f3
commit
986514cb4e
|
@ -0,0 +1,13 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# call the brave browser with some nice flags
|
||||||
|
|
||||||
|
/usr/bin/brave --process-per-site \
|
||||||
|
--disk-cache-dir="/tmp/brave-cache" \
|
||||||
|
--use-gl=angle \
|
||||||
|
--use-angle=gl \
|
||||||
|
--enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization,WebUIDarkMode,RawDraw \
|
||||||
|
--force-dark-mode \
|
||||||
|
--use-vulkan \
|
||||||
|
"$@"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{{- if eq .features.desktop_alias "work-laptop" -}}
|
{{- if eq .features.desktop_alias "work-laptop" -}}
|
||||||
{{- include ".files/brave-bins/work-laptop" -}}
|
{{- include ".files/brave-bins/work-laptop" -}}
|
||||||
|
{{- if eq .features.desktop_alias "workstation" -}}
|
||||||
|
{{- include ".files/brave-bins/workstation" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- include ".files/brave-bins/default" -}}
|
{{- include ".files/brave-bins/default" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in New Issue