From 60948a8688db665a89e493d45578c5284cd4846c Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Mon, 8 May 2023 22:35:41 -0700 Subject: [PATCH] Add wayland to VSCode --- dotenv.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotenv.sh b/dotenv.sh index a2e0525..ecf2c26 100755 --- a/dotenv.sh +++ b/dotenv.sh @@ -202,3 +202,7 @@ echo "export MOZ_ENABLE_WAYLAND=1" >> $HOME/.config/plasma-workspace/env/path.sh # AUR Packages yay -S --nodiffmenu visual-studio-code-bin ttf-ms-win10-auto + +# Setup VSCode to launch under wayland +echo '--enable-features=WaylandWindowDecorations' >> ~/.config/code-flags.conf +echo '--ozone-platform-hint=auto' >> ~/.config/code-flags.conf \ No newline at end of file