From b717fd00a4ab3262ea40f7bb64a91acfd2e2cc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 12 Oct 2023 12:11:35 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(portal):=20screensharing=20wit?= =?UTF-8?q?h=20xwindows=20now=20possible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit using xwaylandvideobridge-cursor-mode-2-git helped getting xwayland windows to show up on discord --- .config/hypr/scripts/autostart | 5 +++-- .config/hypr/themes/luna/rules.conf | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/hypr/scripts/autostart b/.config/hypr/scripts/autostart index 3404766b..b60a5f4c 100755 --- a/.config/hypr/scripts/autostart +++ b/.config/hypr/scripts/autostart @@ -1,6 +1,6 @@ #!/bin/bash -# variables +# Variables config=$HOME/.config/hypr scripts=$config/scripts @@ -52,5 +52,6 @@ aw-watcher-afk & #Launch autostart apps dex -a -s ~/.config/autostart/ & # Easyeffects, Spotify, Discord and Thunderbird -# Other +# Screen sharing and portals $scripts/launch_portals & +xwaylandvideobridge & diff --git a/.config/hypr/themes/luna/rules.conf b/.config/hypr/themes/luna/rules.conf index 917830ab..b6405602 100644 --- a/.config/hypr/themes/luna/rules.conf +++ b/.config/hypr/themes/luna/rules.conf @@ -55,3 +55,7 @@ windowrule = float, keyb-kitty windowrule = center 1, keyb-kitty windowrule = size 35% 80%, keyb-kitty windowrule = size 30% 85%,^(pavucontrol)$ +windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ +windowrulev2 = noanim,class:^(xwaylandvideobridge)$ +windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ +windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$