From 9e97d1518e30ad42226bea575471933c24b54e2c Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 21 Dec 2024 13:40:49 -0500 Subject: [PATCH] hyprland: add browser rules Signed-off-by: Myned --- options/custom/desktops/hyprland/rules.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/options/custom/desktops/hyprland/rules.nix b/options/custom/desktops/hyprland/rules.nix index a0606c5..9cdf0b0 100644 --- a/options/custom/desktops/hyprland/rules.nix +++ b/options/custom/desktops/hyprland/rules.nix @@ -179,16 +179,11 @@ in { (class "[Ww]aydroid.*" rules) ]; browser = rules: [ - (fields { - class = "^chromium-browser$"; - title = "^(?!Picture.in.[Pp]icture).*$"; - } - rules) - (fields { - class = "^firefox.*$"; - title = "^(?!Picture.in.[Pp]icture).*$"; - } - rules) + (class "^brave-browser$" rules) + (class "^chromium-browser$" rules) + (class "^firefox.*$" rules) + (class "^google-chrome$" rules) + (class "^vivaldi.*$" rules) ]; clipboard = rules: [ (class "clipboard" rules)