2021-03-22 21:27:54 +01:00
|
|
|
#!/bin/bash
|
|
|
|
export GTK_IM_MODULE=ibus
|
|
|
|
export XMODIFIERS=@im=ibus
|
|
|
|
export QT_IM_MODULE=ibus
|
|
|
|
|
|
|
|
KERNEL=$(uname -sr)
|
|
|
|
[[ $KERNEL =~ "icrosoft" ]] && "/mnt/c/Program Files/Mozilla Firefox/firefox.exe" "$@"
|
2021-03-24 00:54:14 +01:00
|
|
|
[[ $KERNEL =~ "gentoo" ]] && GDK_DPI_SCALE="1.2" firefox "$@"
|
2022-05-27 01:14:12 +02:00
|
|
|
[[ $KERNEL =~ "Darwin" ]] && open -a Opera -u "$2"
|
2021-03-22 21:27:54 +01:00
|
|
|
#[[ $KERNEL =~ "gentoo" ]] && __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 GDK_DPI_SCALE="1.2" firefox "$@"
|
|
|
|
|
|
|
|
# Firefox
|
|
|
|
# media.ffmpeg.vaapi.enabled -> true
|