mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
Fix: update Wayland application wrappers for legcord and teams-for-linux to improve compatibility
This commit is contained in:
@@ -46,21 +46,23 @@
|
||||
# spotify
|
||||
|
||||
# Communication
|
||||
(legcord.override {
|
||||
commandLineArgs = [
|
||||
"--enable-features=UseOzonePlatform,WaylandWindowDecorations"
|
||||
"--ozone-platform=wayland"
|
||||
];
|
||||
})
|
||||
(teams-for-linux.override {
|
||||
commandLineArgs = [
|
||||
"--enable-features=UseOzonePlatform,WaylandWindowDecorations"
|
||||
"--ozone-platform=wayland"
|
||||
];
|
||||
})
|
||||
legcord
|
||||
teams-for-linux
|
||||
# discord
|
||||
# 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
|
||||
grim # Screenshot tool for Wayland
|
||||
slurp # Screen area selector for Wayland
|
||||
|
||||
Reference in New Issue
Block a user