diff --git a/programs/hyprland/config.nix b/programs/hyprland/config.nix index 063dd67..55135b9 100644 --- a/programs/hyprland/config.nix +++ b/programs/hyprland/config.nix @@ -273,6 +273,10 @@ # Window rules 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 plugin:hyprfocus { diff --git a/scripts/hyprland/start_services.sh b/scripts/hyprland/start_services.sh index 49850bb..dee2fe1 100755 --- a/scripts/hyprland/start_services.sh +++ b/scripts/hyprland/start_services.sh @@ -47,3 +47,13 @@ wl-paste -w cliphist store & # 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"' & + +# +# 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 &