summaryrefslogtreecommitdiff
path: root/stow/hyprland/.config
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2026-02-06 23:54:22 +0530
committerSaumit <justsaumit@protonmail.com>2026-02-06 23:54:22 +0530
commit7b720507b7d7f5e383741c952d73536bad692c0d (patch)
tree13a37fddcdee7455b6388a2cef1e7539c0937044 /stow/hyprland/.config
parent68c1b0c1730d5c55859bde6f5f74e9a5535e2849 (diff)
hypr: Update windowrules and mpv fade removalHEADmain
Diffstat (limited to 'stow/hyprland/.config')
-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 {