From 7291082322975b7e7da581e04fa0734a4a053411 Mon Sep 17 00:00:00 2001 From: andrey_varnavskiy Date: Sun, 1 Dec 2024 06:16:22 +0500 Subject: [PATCH] add xwayland bridge rules --- home-manager/modules/hyprland/main.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/home-manager/modules/hyprland/main.nix b/home-manager/modules/hyprland/main.nix index b3c7615..7c35cad 100644 --- a/home-manager/modules/hyprland/main.nix +++ b/home-manager/modules/hyprland/main.nix @@ -52,14 +52,24 @@ windowrulev2 = [ "bordersize 0, floating:0, onworkspace:w[t1]" + "float,class:(mpv)|(imv)" + "workspace 3,class:(obsidian)" "workspace 4,class:(com.obsproject.Studio)" "workspace 5,class:(telegram)" "workspace 5,class:(vesktop)" "workspace 6,class:(teams-for-linux)" + "suppressevent maximize, class:.*" "nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0" + + "opacity 0.0 override, class:^(xwaylandvideobridge)$" + "noanim, class:^(xwaylandvideobridge)$" + "noinitialfocus, class:^(xwaylandvideobridge)$" + "maxsize 1 1, class:^(xwaylandvideobridge)$" + "noblur, class:^(xwaylandvideobridge)$" + "nofocus, class:^(xwaylandvideobridge)$" ]; dwindle = {