Fix: update Wayland application wrappers for legcord and teams-for-linux to improve compatibility

This commit is contained in:
2025-11-04 19:18:10 +00:00
parent 7c2df109e9
commit 9ca27bd3e2

View File

@@ -46,21 +46,23 @@
# spotify # spotify
# Communication # Communication
(legcord.override { legcord
commandLineArgs = [ teams-for-linux
"--enable-features=UseOzonePlatform,WaylandWindowDecorations"
"--ozone-platform=wayland"
];
})
(teams-for-linux.override {
commandLineArgs = [
"--enable-features=UseOzonePlatform,WaylandWindowDecorations"
"--ozone-platform=wayland"
];
})
# discord # discord
# slack # slack
# Wayland wrappers for Electron apps
(pkgs.writeShellScriptBin "legcord-wayland" ''
exec ${pkgs.legcord}/bin/legcord \
--enable-features=UseOzonePlatform,WaylandWindowDecorations \
--ozone-platform=wayland "$@"
'')
(pkgs.writeShellScriptBin "teams-wayland" ''
exec ${pkgs.teams-for-linux}/bin/teams-for-linux \
--enable-features=UseOzonePlatform,WaylandWindowDecorations \
--ozone-platform=wayland "$@"
'')
# Screenshots and screen recording # Screenshots and screen recording
grim # Screenshot tool for Wayland grim # Screenshot tool for Wayland
slurp # Screen area selector for Wayland slurp # Screen area selector for Wayland