diff --git a/bash/usr-local-bin/code b/bash/usr-local-bin/code index d1f60ae..a453873 100755 --- a/bash/usr-local-bin/code +++ b/bash/usr-local-bin/code @@ -5,7 +5,7 @@ set -x if [ -f /usr/bin/code ]; then - /usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=x11 "$@" + /usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform-hint=wayland "$@" elif [ -f /snap/bin/code ]; then # https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104 diff --git a/bash/usr-local-bin/codium b/bash/usr-local-bin/codium index 94ce50c..504ad0c 100755 --- a/bash/usr-local-bin/codium +++ b/bash/usr-local-bin/codium @@ -5,7 +5,7 @@ set -x if [ -f /usr/bin/codium ]; then - /usr/bin/codium --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform=x11 "$@" + /usr/bin/codium --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform,WebContentsForceDark --ozone-platform=wayland "$@" elif [ -f /snap/bin/codium ]; then # https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104