feat(hypr): add layer rules

This commit is contained in:
Sergio Laín 2024-03-30 13:16:01 +01:00
parent 37616b422c
commit a6105ab867
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 19 additions and 1 deletions

View file

@ -10,7 +10,7 @@ animations {
animation = windowsIn, 1, 7, overshot, popin animation = windowsIn, 1, 7, overshot, popin
animation = windowsOut, 1, 5, overshot, popin animation = windowsOut, 1, 5, overshot, popin
animation = windowsMove, 1, 6, overshot, slide animation = windowsMove, 1, 6, overshot, slide
animation = layers, 1, 5, default, fade animation = layers, 1, 5, default, popin
animation = fadeIn, 1, 10, default animation = fadeIn, 1, 10, default
animation = fadeOut, 1, 10, default animation = fadeOut, 1, 10, default
animation = fadeSwitch, 1, 10, default animation = fadeSwitch, 1, 10, default

View file

@ -88,3 +88,21 @@ windowrulev2 = idleinhibit fullscreen, class:^(.*celluloid.*)$
windowrulev2 = idleinhibit fullscreen, class:^(.*LibreWolf.*)$|^(.*floorp.*)$|^(.*Brave.*)$|^(.*firefox.*)$|^(.*chromium.*)$ windowrulev2 = idleinhibit fullscreen, class:^(.*LibreWolf.*)$|^(.*floorp.*)$|^(.*Brave.*)$|^(.*firefox.*)$|^(.*chromium.*)$
windowrulev2 = immediate, class:^(.*steam_app.*)$ 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