myhome/.local/bin/browser-x
Marcin Woźniak c7934633be Added firefox into wsl
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2020-08-27 11:08:27 +02:00

6 lines
235 B
Bash
Executable File

#!/bin/bash
KERNEL=$(uname -sr)
[[ $KERNEL =~ "Microsoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
[[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox "$@"
#brave-bin --force-device-scale-factor=1.2 "$@"&