WIP repo that adds Discord screenshare support for Wayland and Pipewire aswell as audio sharing, without the need to use the web client.
bash -c "$(curl https://raw.githubusercontent.com/itsfolf/Discord-Screenshare-Linux/main/scripts/install.sh -sSfL)"
After installing restart discord, if it was running
Note: the screen preview inside the screenshare popup will still be black, just click on one of them to trigger screensharing anyway.
pipewire pipewire-pulse discord xdg-desktop-portal xdg-desktop-portal-{insert desktop environment here}
(ex. kde needs xdg-desktop-portal-kde, gnome needs xdg-desktop-portal-gnome, for wlroots based compositors xdg-desktop-portal-wlr)