electron settings

This commit is contained in:
Sense T 2023-06-29 17:17:58 +08:00
parent e993e98495
commit e065bca40d

View File

@ -62,6 +62,18 @@
[Context]
filesystems=/run/current-system/sw/share/X11/fonts:ro;/nix/store:ro;~/.icons;
'';
# Electron global settings
".config/electron-flags.conf".text = ''
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
--enable-webrtc-pipewire-capturer
'';
".config/electron13-flags.conf".text = ''
--enable-features=UseOzonePlatform
--ozone-platform=wayland
'';
};
};
}