Improve hyprland rules and animations

This commit is contained in:
Tobias Reisinger 2024-05-15 02:01:18 +02:00
parent 10c10e9a72
commit 6085c9f417
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 13 additions and 12 deletions

View file

@ -24,19 +24,10 @@ windowrulev2 = workspace $ws_msg silent, class:(Signal)
# Specific rules # Specific rules
windowrulev2 = move 100%-300 100%-30, class:(steam), title:^(notificationtoasts)
windowrulev2 = nofocus, class:(steam), title:^(notificationtoasts)
windowrulev2 = float, class:(steam), title:^(Friends List)
windowrulev2 = float, class:(zenity), title:^(Progress)
windowrulev2 = noinitialfocus, class:(steam), title:^(Friends List)
#windowrulev2 = workspace $ws_chat silent, class:(steam), title:^(Friends List)
windowrulev2 = float, class:(xdg-desktop-portal-gtk) windowrulev2 = float, class:(xdg-desktop-portal-gtk)
#windowrulev2 = monitor $mon2, class:(thunderbird), title:^$ # where monitor silent rule?
windowrulev2 = noinitialfocus, class:(thunderbird), title:^$ windowrulev2 = noinitialfocus, class:(thunderbird), title:^$
windowrulev2 = float, class:(thunderbird), title:^$ windowrulev2 = float, class:(thunderbird), title:^$
#windowrulev2 = move 5 5, class:(thunderbird), title:^$
windowrulev2 = float, class:(thunderbird), title:(Reminder) windowrulev2 = float, class:(thunderbird), title:(Reminder)
@ -46,10 +37,19 @@ windowrulev2 = float, class:(Pinetry-gtk-2)
windowrulev2 = fullscreen, class:(FreeTube) windowrulev2 = fullscreen, class:(FreeTube)
#windowrulev2 = tile, class:(discord)
#windowrulev2 = nofullscreenrequest, class:(discord)
windowrulev2 = float, class:(com/.https://ultimaker.UltiMaker-Cura), title:(UltiMaker-Cura) windowrulev2 = float, class:(com/.https://ultimaker.UltiMaker-Cura), title:(UltiMaker-Cura)
# https://github.com/hyprwm/Hyprland/issues/4257#issuecomment-1879781806 # https://github.com/hyprwm/Hyprland/issues/4257#issuecomment-1879781806
windowrulev2 = noinitialfocus,class:^jetbrains-(?!toolbox),floating:1 windowrulev2 = noinitialfocus,class:^jetbrains-(?!toolbox),floating:1
# Gaming Rules (steam and games)
windowrulev2 = move 100%-300 100%-30, class:(steam), title:^(notificationtoasts)
windowrulev2 = nofocus, class:(steam), title:^(notificationtoasts)
windowrulev2 = float, class:(zenity), title:^(Progress)
windowrulev2 = noinitialfocus, class:(steam), title:^(Friends List)
windowrulev2 = workspace $ws_chat silent, class:(steam), title:^(Friends List)
windowrulev2 = fullscreen, class:^cs2$
windowrulev2 = workspace $ws_focus, class:^cs2$

View file

@ -57,6 +57,7 @@ animations {
bezier = overshot, 0.05, 0.9, 0.1, 1.1 bezier = overshot, 0.05, 0.9, 0.1, 1.1
animation = windows, 1, 3, overshot, slide animation = windows, 1, 3, overshot, slide
animation = windowsMove, 1, 3, default
animation = fade, 0, 6, default animation = fade, 0, 6, default
animation = border, 1, 6, default animation = border, 1, 6, default
animation = workspaces, 1, 6, overshot, slide animation = workspaces, 1, 6, overshot, slide