feat: Distinguish between closed and open animation types

This commit is contained in:
DreamMaoMao 2025-03-11 14:12:11 +08:00
parent c2a6914662
commit 20bd9841ae
5 changed files with 44 additions and 26 deletions

View file

@ -1,6 +1,7 @@
# Animation Configuration
animations=1
animation_type=slide
animation_type_open=zoom
animation_type_close=slide
animation_fade_in=1
zoom_initial_ratio=0.5
fadein_begin_opacity=0.5
@ -94,7 +95,8 @@ tags=id:9,layout_name:tile
# isfloating: type-num(0 or 1)
# isfullscreen: type-num(0 or 1)
# scroller_proportion: type-float(0.1-1.0)
# animation_type : type-string(zoom,slide)
# animation_type_open : type-string(zoom,slide)
# animation_type_close : type-string(zoom,slide)
# isnoborder : type-num(0 or 1)
# monitor : type-int(0-99999)
# width : type-num(0-9999)
@ -110,7 +112,7 @@ tags=id:9,layout_name:tile
# windowrule=isfloating:1,appid:Rofi
# windowrule=isfloating:1,appid:wofi
# windowrule=isnoborder:1,appid:wofi
# windowrule=animation_type:zoom,appid:wofi
# windowrule=animation_type_open:zoom,appid:wofi
# open in specific tag
# windowrule=tags:4,appid:Google-chrome