pinwheel: Add support for screensharing with hyprland
This commit is contained in:
@@ -36,6 +36,8 @@ in
|
||||
workspace = 8, monitor:eDP-1
|
||||
workspace = 9, monitor:eDP-1
|
||||
workspace = 10, monitor:eDP-1
|
||||
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
'';
|
||||
|
||||
settings = {
|
||||
@@ -141,6 +143,17 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
# The XDG portal is needed for screen sharing
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
||||
# override "trace: warning: xdg-desktop-portal 1.17 reworked how portal implementations are loaded ..."
|
||||
config.common.default = "*";
|
||||
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
|
||||
# openGL is needed for wayland/hyprland
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user