xdph: end share when the shared window closes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
78a7f1b478
commit
08b25d3241
2 changed files with 49 additions and 0 deletions
|
|
@ -11,6 +11,11 @@ in
|
|||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
# Closing a window that's being shared ends the share (Discord stops the
|
||||
# stream) instead of streaming its last frame forever.
|
||||
portalPackage = pkgs.xdg-desktop-portal-hyprland.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [ ../patches/xdph-close-session-on-window-close.patch ];
|
||||
});
|
||||
};
|
||||
|
||||
# Let Hyprland show the session menu for a short power-key press instead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue