From 2c6d6a89216a05577def2198011040caba00204e Mon Sep 17 00:00:00 2001 From: notohh Date: Thu, 7 Mar 2024 03:54:11 -0500 Subject: [PATCH] hyprland: add idleinhibit & layer rules --- home/wayland/hyprland/config/rules.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/home/wayland/hyprland/config/rules.nix b/home/wayland/hyprland/config/rules.nix index 89e9767..fb870f2 100644 --- a/home/wayland/hyprland/config/rules.nix +++ b/home/wayland/hyprland/config/rules.nix @@ -13,7 +13,12 @@ _: { "move 850 360, title:^(RuneLite)$" "size 830 600, title:^(RuneLite)$" "size 1200 600, title:^(satty)$" - " fullscreen, title:^(cs2)$" + "idleinhibit focus, class:^(mpv)$" + "idleinhibit always, class:^(firefox)$, title:^(.*YouTube.*|.*Twitch.*)$" + "idleinhibit fullscreen, class:^(firefox)$" + ]; + layerrule = [ + "blur, ^(gtk-layer-shell|anyrun)$" ]; }; }