ENH update workstation brave config

This commit is contained in:
Nathan Dwarshuis 2024-03-06 15:59:48 -05:00
parent ee93db11f3
commit 986514cb4e
2 changed files with 15 additions and 0 deletions

13
.files/brave-bins/workstation Executable file
View File

@ -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 \
"$@"

View File

@ -1,5 +1,7 @@
{{- if eq .features.desktop_alias "work-laptop" -}}
{{- include ".files/brave-bins/work-laptop" -}}
{{- if eq .features.desktop_alias "workstation" -}}
{{- include ".files/brave-bins/workstation" -}}
{{- else -}}
{{- include ".files/brave-bins/default" -}}
{{- end -}}