[sway] update env variable to support newest kernel/mesa

parent 57c9cec5
......@@ -119,6 +119,7 @@ light
mlocate
neofetch
neovim
onefetch
ripgrep
rsync
wget
......
......@@ -3,3 +3,24 @@
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
# enable as long as Mesa driver isn't supporting modifiers properly
export WLR_DRM_NO_MODIFIERS=1
# remove client side decoration in GTK3
export LD_PRELOAD=/usr/lib/libgtk3-nocsd.so.0
export GTK_CSD=0
# QT should use wayland
export QT_QPA_PLATFORM=wayland"
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
# enable video accel via v2l
export LIBVA_DRIVER_NAME=v4l2_request
export LIBVA_V4L2_REQUEST_VIDEO_PATH=/dev/video1
# Most pure GTK3 apps use wayland by default, but some,
# like Firefox, need the backend to be explicitely selected.
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
#!/bin/sh
# Most pure GTK3 apps use wayland by default, but some,
# like Firefox, need the backend to be explicitely selected.
export LD_PRELOAD=/usr/lib/libgtk3-nocsd.so.0
export LIBVA_DRIVER_NAME=v4l2_request
export LIBVA_V4L2_REQUEST_VIDEO_PATH=/dev/video1
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export GTK_CSD=0
#!/bin/sh
export QT_QPA_PLATFORM="wayland"
export QT_QPA_PLATFORMTHEME=qt5ct
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment