fix: screen sharing

This commit is contained in:
Alexandre Cavalheiro 2024-01-11 18:27:33 -03:00
parent 284f242e72
commit 37a059613f
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 14 additions and 0 deletions

View file

@ -273,6 +273,10 @@
# Window rules # Window rules
windowrulev2 = float,class:(steam) # Make sure all Steam windows float windowrulev2 = float,class:(steam) # Make sure all Steam windows float
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
# Plugins # Plugins
plugin:hyprfocus { plugin:hyprfocus {

View file

@ -47,3 +47,13 @@ wl-paste -w cliphist store &
# Need this to be able to paste in xwayland applications. # Need this to be able to paste in xwayland applications.
wl-paste -t text -w sh -c 'v=$(cat); cmp -s <(xclip -selection clipboard -o) <<< "$v" || xclip -selection clipboard <<< "$v"' & wl-paste -t text -w sh -c 'v=$(cat); cmp -s <(xclip -selection clipboard -o) <<< "$v" || xclip -selection clipboard <<< "$v"' &
#
# Start xwaylandvideobridge
#
xwaylandvideobridge &
#
# Make sure xdg-desktop-portal-hyprland has access to what it needs
#
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &