bash/usr-local-bin: add WaylandWindowDecorations for electrons

This commit is contained in:
Aminda Suomalainen 2022-05-09 22:46:50 +03:00
parent a4eb3fff32
commit ba146f2f2c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
6 changed files with 6 additions and 6 deletions

View File

@ -2,5 +2,5 @@
set -x
flatpak run com.visualstudio.code --no-sandbox $@
# --enable-features=UseOzonePlatforme --ozone-platform=wayland
# --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
set +x

View File

@ -3,5 +3,5 @@
set -x
# https://github.com/flathub/com.vscodium.codium/issues/55
flatpak run com.vscodium.codium --no-sandbox $@
# --enable-features=UseOzonePlatforme --ozone-platform=wayland
# --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
set +x

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Wayland flags: --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland
# Wayland flags: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland
# Wayland crash: https://github.com/vector-im/element-web/issues/19964
# Crash workaround for Signal-desktop, but not Element? --disable-gpu

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Torifying Element
# Wayland flags: --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland
# Wayland flags: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland
# Wayland crash: https://github.com/vector-im/element-web/issues/19964
# Crash workaround for Signal-desktop, but not Element? --disable-gpu
set -x

View File

@ -5,5 +5,5 @@
# OpenVPN: --proxy-server=socks5://10.8.0.1
set -x
/usr/bin/microsoft-edge --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,WebUIDarkMode --ozone-platform=wayland --force-dark-mode --proxy-server=socks5://10.64.0.1
/usr/bin/microsoft-edge --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer,WebUIDarkMode --ozone-platform=wayland --force-dark-mode --proxy-server=socks5://10.64.0.1
set +x

View File

@ -5,5 +5,5 @@
set -x
# --disable-gpu - https://github.com/signalapp/Signal-Desktop/issues/2567#issuecomment-457282578
# --start-in-tray - would be nice, but then I cannot open it from there, trus --use-tray-icon
flatpak run org.signal.Signal --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer --ozone-platform=wayland --disable-gpu --use-tray-icon $@
flatpak run org.signal.Signal --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland --disable-gpu --use-tray-icon $@
set +x