mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-20 21:37:20 +02:00
Compare commits
4 Commits
80b102a899
...
3c9cc52aac
Author | SHA1 | Date | |
---|---|---|---|
3c9cc52aac | |||
dce68797f1 | |||
a1ae10bf17 | |||
b99be3848e |
@ -24,7 +24,7 @@ flatpak override --filesystem=~/.shell-things:rw --filesystem=~/src/gitea.blesmr
|
|||||||
# SECURITY! May let untrusted apps spy on everything on X11 desktops, but
|
# SECURITY! May let untrusted apps spy on everything on X11 desktops, but
|
||||||
# I either don't have those around or Fedora 40 removes them with the new KDE
|
# I either don't have those around or Fedora 40 removes them with the new KDE
|
||||||
# Plasma. NOTE: fallback-x11 should override x11 socket permission.
|
# Plasma. NOTE: fallback-x11 should override x11 socket permission.
|
||||||
flatpak override --socket=wayland --socket=fallback-x11 --nosocket=x11 $@
|
flatpak override --socket=wayland --socket=fallback-x11 --nosocket=x11 --env=ELECTRON_OZONE_PLATFORM_HINT=auto $@
|
||||||
|
|
||||||
# Backticks and a lot of common characters in all Flatpaks
|
# Backticks and a lot of common characters in all Flatpaks
|
||||||
# https://github.com/flatpak/flatpak/issues/2031
|
# https://github.com/flatpak/flatpak/issues/2031
|
||||||
@ -67,9 +67,6 @@ flatpak override --filesystem=~/.ssh/config:ro --filesystem=~/.ssh/config.d:ro -
|
|||||||
# https://github.com/flathub/im.riot.Riot/issues/303#issuecomment-1816055123
|
# https://github.com/flathub/im.riot.Riot/issues/303#issuecomment-1816055123
|
||||||
flatpak override im.riot.Riot --talk-name=org.freedesktop.secrets $@
|
flatpak override im.riot.Riot --talk-name=org.freedesktop.secrets $@
|
||||||
|
|
||||||
# DeltaChat wayland support (may break X11?)
|
|
||||||
#flatpak override chat.delta.desktop --socket=wayland --socket=fallback-x11 $@
|
|
||||||
|
|
||||||
# Display the overrides
|
# Display the overrides
|
||||||
if [ -d /var/lib/flatpak/overrides/ ]; then
|
if [ -d /var/lib/flatpak/overrides/ ]; then
|
||||||
tail -n +1 /var/lib/flatpak/overrides/*
|
tail -n +1 /var/lib/flatpak/overrides/*
|
||||||
|
@ -18,6 +18,8 @@ export QT_QPA_PLATFORMTHEME="qt5ct"
|
|||||||
export QT_QPA_PLATFORM=wayland
|
export QT_QPA_PLATFORM=wayland
|
||||||
export CLUTTER_BACKEND=wayland
|
export CLUTTER_BACKEND=wayland
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
|
# Electron
|
||||||
|
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
||||||
# Mozilla Products
|
# Mozilla Products
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
@ -25,12 +25,16 @@ export QT_IM_MODULE="fcitx"
|
|||||||
|
|
||||||
# qt5ct allows theme choosing
|
# qt5ct allows theme choosing
|
||||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||||
|
# Dark theme for GTK apps
|
||||||
|
export GTK_THEME=Adwaita:dark
|
||||||
|
|
||||||
# Ensuring Wayland gets used as per Arch Wiki
|
# Ensuring Wayland gets used as per Arch Wiki
|
||||||
# 2021-02-28 https://wiki.archlinux.org/index.php/Wayland#GUI_libraries
|
# 2021-02-28 https://wiki.archlinux.org/index.php/Wayland#GUI_libraries
|
||||||
export QT_QPA_PLATFORM=wayland
|
export QT_QPA_PLATFORM=wayland
|
||||||
export CLUTTER_BACKEND=wayland
|
export CLUTTER_BACKEND=wayland
|
||||||
export SDL_VIDEODRIVER=wayland
|
export SDL_VIDEODRIVER=wayland
|
||||||
|
# Electron
|
||||||
|
export ELECTRON_OZONE_PLATFORM_HINT=wayland
|
||||||
# Mozilla Products
|
# Mozilla Products
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user