myhome/.local/bin/browser-x
Marcin Woźniak fae31cfa8c
Changed to firefox-bin
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2020-10-29 22:14:37 +01:00

10 lines
326 B
Bash
Executable File

#!/bin/bash
KERNEL=$(uname -sr)
[[ $KERNEL =~ "icrosoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
[[ $KERNEL =~ "gentoo" ]] && MOZ_X11_EGL=1 GDK_DPI_SCALE="1.35" firefox-bin "$@"
#[[ $KERNEL =~ "gentoo" ]] && brave-bin --force-device-scale-factor=1.2 "$@"
# Firefox
# media.ffmpeg.vaapi.enabled -> true