From a8b6c477666f1b3d41420e6c86de40c6875b7aaa Mon Sep 17 00:00:00 2001 From: lub Date: Mon, 2 Jan 2023 03:30:15 +0100 Subject: [PATCH] force enable wayland in electron applications Don't enable it for TeamSpeak 5 for now, because global shortcuts don't work. --- dotfiles/bin/.bin/code | 3 +++ dotfiles/bin/.bin/element-desktop | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 dotfiles/bin/.bin/code create mode 100755 dotfiles/bin/.bin/element-desktop diff --git a/dotfiles/bin/.bin/code b/dotfiles/bin/.bin/code new file mode 100755 index 0000000..88ad493 --- /dev/null +++ b/dotfiles/bin/.bin/code @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/bin/code --enable-features=UseOzonePlatform --ozone-platform=wayland $1 diff --git a/dotfiles/bin/.bin/element-desktop b/dotfiles/bin/.bin/element-desktop new file mode 100755 index 0000000..7758f2f --- /dev/null +++ b/dotfiles/bin/.bin/element-desktop @@ -0,0 +1,3 @@ +#!/bin/sh + +/usr/bin/element-desktop --enable-features=UseOzonePlatform --ozone-platform=wayland