diff --git a/.files/brave-bins/workstation b/.files/brave-bins/workstation new file mode 100755 index 0000000..ef99929 --- /dev/null +++ b/.files/brave-bins/workstation @@ -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 \ + "$@" + diff --git a/dot_bin/executable_brave.tmpl b/dot_bin/executable_brave.tmpl index 1725145..c849dba 100644 --- a/dot_bin/executable_brave.tmpl +++ b/dot_bin/executable_brave.tmpl @@ -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 -}}