feat: steam window rules

This commit is contained in:
hesam-init 2024-02-14 16:54:02 +03:30
parent cbbad48904
commit 0351f05d9e
2 changed files with 19 additions and 9 deletions

View file

@ -8,6 +8,9 @@ animations {
bezier = winIn, 0.1, 1.1, 0.1, 1.1
bezier = winOut, 0.3, -0.3, 0, 1
bezier = liner, 1, 1, 1, 1
bezier = overshot, 0.05, 0.9, 0.1, 1.05
bezier = smoothOut, 0.5, 0, 0.99, 0.99
bezier = smoothIn, 0.5, -0.5, 0.68, 1.5
animation = windows, 1, 6, wind, slide
animation = windowsIn, 1, 6, winIn, slide
animation = windowsOut, 1, 5, winOut, slide
@ -15,7 +18,5 @@ animations {
animation = border, 1, 1, liner
animation = borderangle, 1, 30, liner, loop
animation = fade, 1, 10, default
animation = workspaces, 1, 6, wind, slide
# animation = resize, 1, 6, default
# animation = workspaces, 1, 5, wind
animation = workspaces, 1, 6, wind
}

View file

@ -2,16 +2,25 @@
# Window rules
# -----------------------------------------------------
windowrulev2 = bordercolor rgb(FF0000) rgb(880808) 15deg,fullscreen:1
windowrulev2= float,class:^(org.telegram.desktop|telegramdesktop)$,title:^(Media viewer)$
windowrulev2= float,class:^(Steam|steam)$,title:^(Friends List)$
windowrulev2= float,title:^(Google Chrome)$
windowrulev2= animation popin,class:^(org.telegram.desktop|telegramdesktop)$
# global rules:
windowrulev2 = animation popin,class:^(alacritty|Alacritty|pavucontrol|org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(pavucontrol|wlogout|dunst|Dunst|org.kde.polkit-kde-authentication-agent-1)$
# apps workspace :
# telegram rules :
windowrulev2= float,class:^(org.telegram.desktop|telegramdesktop)$,title:^(Media viewer)$
windowrulev2= animation popin,class:^(org.telegram.desktop|telegramdesktop)$
# steam rules :
windowrulev2= float,class:^(Steam|steam)$,title:^(.*)$
windowrulev2= animation popin,class:^(Steam|steam)$,title:^(.*)$
# chrome rules :
windowrulev2= float,title:^(Google Chrome)$
# wrokspace rules :
windowrulev2 = workspace 1,class:^(chrome|google-chrome|Chrome)$
windowrulev2 = workspace 2,class:^(Code)$
windowrulev2 = workspace 3,class:^(nekoray|Nekoray)$
windowrulev2 = workspace 4,class:^(org.telegram.desktop|telegramdesktop|discord)$
windowrulev2 = workspace 5,class:^(.*steam.*)$
# windowrulev2 = workspace 5,class:^(steam)$