Skip to content

Commit

Permalink
fix(screensharing): fix slack & browsers screensharing maybe 👀
Browse files Browse the repository at this point in the history
Signed-off-by: Deep Panchal <deep302001@gmail.com>
  • Loading branch information
deepanchal committed Aug 28, 2024
1 parent 74299f0 commit 56c2e4c
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 0 deletions.
130 changes: 130 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
inputs.nixpkgs.follows = "nixpkgs";
};

xdph = {
# Slack & Browser screensharing works on this commit for me
# Also, building v1.3.2 from scratch is broken
url = "github:hyprwm/xdg-desktop-portal-hyprland?ref=b9b97e5ba23fe7bd5fa4df54696102e8aa863cf6";
inputs.nixpkgs.follows = "nixpkgs";
};

# anyrun - a wayland launcher
anyrun = {
url = "github:Kirottu/anyrun";
Expand Down
2 changes: 2 additions & 0 deletions hosts/zephyrion/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
programs.hyprland = {
enable = true;
xwayland.enable = true;
# portalPackage = pkgs.xdg-desktop-portal-hyprland;
portalPackage = inputs.xdph.packages."${pkgs.system}".xdg-desktop-portal-hyprland;
};

programs.sway = {
Expand Down

0 comments on commit 56c2e4c

Please sign in to comment.