Use wayland for vscode.

This commit is contained in:
Tom Alexander
2024-04-12 19:06:00 -04:00
parent c2b8ab05b1
commit 736e83a465
3 changed files with 9 additions and 1 deletions

View File

@@ -8,6 +8,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export XDG_CURRENT_DESKTOP=sway
export WLR_RENDERER=vulkan
# Enable wayland support for electron (vscode)
export ELECTRON_OZONE_PLATFORM_HINT=wayland
# Enable wayland support for firefox
export MOZ_ENABLE_WAYLAND=1