From 4dd0530dbc4e7369fca99ac439dd893901945744 Mon Sep 17 00:00:00 2001 From: htom Date: Tue, 30 Dec 2025 12:16:45 +0100 Subject: [PATCH] updated config for hyprland 0.53 which remade window rules --- hypr/hyprland.conf | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index b39e46d..2a8cfbe 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -315,25 +315,26 @@ bind = $shiftMod, PRINT, exec, hyprshot -m region ############################## # See https://wiki.hypr.land/Configuring/Window-Rules/ for more # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules -windowrule = tag +games, class:^(steam_app_\d+)$ -windowrule = tag +games, class:^(gamescope)$ -windowrule = tag +gamestore, class:^([Ss]team)$ -windowrule = tag +videoplayer, title:Jellyfin Media Player -windowrule = tag +screenrecord, class:com.obsproject.Studio +windowrule = tag +games, match:class ^(steam_app_\d+)$ +windowrule = tag +games, match:class ^(gamescope)$ +windowrule = tag +gamestore, match:class ^([Ss]team)$ +windowrule = match:title Jellyfin Media Player, tag +videoplayer +windowrule = tag +screenrecord, match:class com.obsproject.Studio +windowrule = tag +rustdesk, match:class rustdesk -windowrule = workspace 6, tag:screenrecord* -windowrule = workspace 7, tag:gamestore* -windowrule = workspace 8, tag:games* -windowrule = workspace 9, tag:videoplayer +windowrule = workspace 5, match:tag rustdesk +windowrule = workspace 6, match:tag screenrecord* +windowrule = workspace 7, match:tag gamestore* +windowrule = workspace 8, match:tag games* +windowrule = workspace 9, match:tag videoplayer* # windowrule - ######### float popups and dialogue ####### -windowrule = float, title:^(Authentication Required)$ -windowrule = center, title:^(Authentication Required)$ -windowrule = float, class:^([Ss]team)$, title:negative:^([Ss]team)$ -windowrule = float, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) +windowrule = float on, match:title ^(Authentication Required)$ +windowrule = center on, match:title ^(Authentication Required)$ +windowrule = float on, match:class ^([Ss]team)$, match:title negative:^([Ss]team)$ # Ignore maximize requests from apps. You'll probably like this. -windowrule = suppressevent maximize, class:.* +windowrule = suppress_event maximize, match:class .* # Fix some dragging issues with XWayland -windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 +windowrule = no_focus class:^$,match:title ^$,match:xwayland 1,float on,match:fullscreen 0,match:pin 0