diff --git a/example/hyprland.conf b/example/hyprland.conf index caf3ddea..7560fefe 100644 --- a/example/hyprland.conf +++ b/example/hyprland.conf @@ -120,7 +120,7 @@ device:epic-mouse-v1 { # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -windowrulev2 = nomaximizerequest, .* # You'll probably like this. +windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. # See https://wiki.hyprland.org/Configuring/Keywords/ for more diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp index 46d7095d..6a859220 100644 --- a/src/config/defaultConfig.hpp +++ b/src/config/defaultConfig.hpp @@ -127,7 +127,7 @@ device:epic-mouse-v1 { # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -windowrulev2 = nomaximizerequest, .* # You'll probably like this. +windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. # See https://wiki.hyprland.org/Configuring/Keywords/ for more