mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-26 12:43:08 +01:00
bash/usr-local-bin: make {element,codium} aware of Wayland
This commit is contained in:
parent
c7ac32c85b
commit
15aea07101
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Run under flatpak, and Wayland
|
||||
|
||||
set -x
|
||||
# https://github.com/flathub/com.vscodium.codium/issues/55
|
||||
flatpak run com.vscodium.codium --no-sandbox $@
|
||||
flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland $@
|
||||
set +x
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Torifying Element
|
||||
# Torifying Element. And running it under Wayland
|
||||
|
||||
set -x
|
||||
# proxy authentication is not supported
|
||||
@ -8,5 +8,5 @@ set -x
|
||||
#/usr/bin/element --proxy-server=socks5://127.0.0.1:9050 $@
|
||||
# Flatpak is preferred for Element not having official Fedora repositories
|
||||
# and at the time of writing being unmaintained in upstream suggested repo.
|
||||
flatpak run im.riot.Riot --proxy-server=socks5://127.0.0.1:9050 $@
|
||||
flatpak run im.riot.Riot --enable-features=UseOzonePlatform --ozone-platform=wayland --proxy-server=socks5://127.0.0.1:9050 $@
|
||||
set +x
|
||||
|
Loading…
Reference in New Issue
Block a user