summaryrefslogtreecommitdiff
path: root/stow/hyprland
diff options
context:
space:
mode:
Diffstat (limited to 'stow/hyprland')
-rw-r--r--stow/hyprland/.config/hypr/hyprland.conf17
1 files changed, 10 insertions, 7 deletions
diff --git a/stow/hyprland/.config/hypr/hyprland.conf b/stow/hyprland/.config/hypr/hyprland.conf
index f5c2b61..47bfe78 100644
--- a/stow/hyprland/.config/hypr/hyprland.conf
+++ b/stow/hyprland/.config/hypr/hyprland.conf
@@ -514,6 +514,8 @@ windowrule = opacity 1.0 override 1.0 override, match:class ^(code)$
windowrule = opacity 1.0 override 1.0 override, match:class ^(brave)$
windowrule = opacity 1.0 override 1.0 override, match:class ^(zen)$
+#windowrulev2 = no_direct_scanout, class:^(mpv)$
+
# MPV player floating -> spawn bottomright
# windowrule {
# name = mpv-floating-bottomright
@@ -529,14 +531,15 @@ windowrule = opacity 1.0 override 1.0 override, match:class ^(zen)$
workspace = w[t1], gapsout:0, gapsin:0
workspace = w[tg1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
-windowrulev2 = bordersize 0, floating:0, onworkspace:w[t1]
-windowrulev2 = rounding 0, floating:0, onworkspace:w[t1]
-windowrulev2 = bordersize 0, floating:0, onworkspace:w[tg1]
-windowrulev2 = rounding 0, floating:0, onworkspace:w[tg1]
-windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
-windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
+windowrule = border_size 0, match:float false, match:workspace w[t1]
+windowrule = rounding 0, match:float false, match:workspace w[t1]
+windowrule = border_size 0, match:float false, match:workspace w[tg1]
+windowrule = rounding 0, match:float false, match:workspace w[tg1]
+windowrule = border_size 0, match:float false, match:workspace f[1]
+windowrule = rounding 0, match:float false, match:workspace f[1]
+
# fix some dragging issues with xwayland
-windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+windowrule = no_focus on, match:class ^$, match:title ^$, match:xwayland true, match:float true, match:fullscreen false, match:pin false
# See https://wiki.hypr.land/Useful-Utilities/Screen-Sharing/#xwayland
windowrule {