exec-once = hyprctl plugin load ~/.config/hypr/plugins/hyprexpo.so
# exec-once = hyprctl plugin load ~/.config/hypr/plugins/hyprfocus.so

bind = SUPER, O, hyprexpo:expo, toggle

plugin {
    hyprexpo {
        enabled = yes
        columns = 3
        gap_size = 12
        bg_col = rgb(111111)
        workspace_method = center current

        enable_gesture = true # laptop touchpad
        gesture_fingers = 2  # 3 or 4
        gesture_distance = 300 # how far is the "max"
        gesture_positive = true # positive = swipe down. Negative = swipe up.
    }

    # hyprfocus {
    #     enabled = yes
    #     animate_floating = yes
    #     animate_workspacechange = no
    #     focus_animation = shrink
    #     # Beziers for focus animations
    
    #     bezier = bezIn, 0.5,0.0,1.0,0.5
    #     bezier = bezOut, 0.0,0.5,0.5,1.0
    #     bezier = overshot, 0.05, 0.9, 0.1, 1.05
    #     bezier = smoothOut, 0.36, 0, 0.66, -0.56
    #     bezier = smoothIn, 0.25, 1, 0.5, 1
    #     bezier = realsmooth, 0.28,0.29,.69,1.08

    #     # Flash settings
    #     flash {
    #         flash_opacity = 0.95
    #         in_bezier = realsmooth
    #         in_speed = 0.5
    #         out_bezier = realsmooth
    #         out_speed = 3
    #     }
    #     # Shrink settings
    #     shrink {
    #         shrink_percentage = 0.95
    #         in_bezier = realsmooth
    #         in_speed = 1
    #         out_bezier = realsmooth
    #         out_speed = 2
    #       }
    # }
}