mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop] improve Wayland for Electron and Java apps
This commit is contained in:
parent
2c9e17b20d
commit
75db6463ce
1 changed files with 6 additions and 0 deletions
|
|
@ -165,6 +165,12 @@ in {
|
|||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
MOZ_DBUS_REMOTE = "1"; # For shared clipboard with Xwayland apps
|
||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||
|
||||
# https://wiki.archlinux.org/title/Wayland#Environment_variable
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||
|
||||
# https://wiki.archlinux.org/title/Wayland#Java
|
||||
JAVA_TOOL_OPTIONS = "-Dawt.toolkit.name=WLToolkit";
|
||||
};
|
||||
|
||||
aviallon.programs.allowUnfreeList = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue