From a6105ab867583db80e72dc3d49cc621c2f93fc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 30 Mar 2024 13:16:01 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(hypr):=20add=20layer=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/themes/luna/animations.conf | 2 +- .config/hypr/themes/luna/rules.conf | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.config/hypr/themes/luna/animations.conf b/.config/hypr/themes/luna/animations.conf index 1bd15293..fb285c14 100644 --- a/.config/hypr/themes/luna/animations.conf +++ b/.config/hypr/themes/luna/animations.conf @@ -10,7 +10,7 @@ animations { animation = windowsIn, 1, 7, overshot, popin animation = windowsOut, 1, 5, overshot, popin animation = windowsMove, 1, 6, overshot, slide - animation = layers, 1, 5, default, fade + animation = layers, 1, 5, default, popin animation = fadeIn, 1, 10, default animation = fadeOut, 1, 10, default animation = fadeSwitch, 1, 10, default diff --git a/.config/hypr/themes/luna/rules.conf b/.config/hypr/themes/luna/rules.conf index 1e5b497a..79bcbe0e 100644 --- a/.config/hypr/themes/luna/rules.conf +++ b/.config/hypr/themes/luna/rules.conf @@ -88,3 +88,21 @@ windowrulev2 = idleinhibit fullscreen, class:^(.*celluloid.*)$ windowrulev2 = idleinhibit fullscreen, class:^(.*LibreWolf.*)$|^(.*floorp.*)$|^(.*Brave.*)$|^(.*firefox.*)$|^(.*chromium.*)$ windowrulev2 = immediate, class:^(.*steam_app.*)$ + + +# Layer Rules +# Rofi +layerrule = animation popin, rofi +layerrule = blur, rofi +layerrule = ignorezero, rofi + +# Waybar +layerrule = blur, waybar +layerrule = ignorezero, waybar + +# Swaync +layerrule = ignorezero, swaync-notification-window +layerrule = animation slide, swaync-notification-window + +# Slurp +layerrule = animation fade, selection