chromakey_background = 30,30,46
# chromakey_background = 36,36,56
plugin {
    touch_gestures {
        # The default sensitivity is probably too low on tablet screens,
        # I recommend turning it up to 4.0
        sensitivity = 4.0
        
        # must be >= 3
        workspace_swipe_fingers = 3
        
        # switching workspaces by swiping from an edge, this is separate from workspace_swipe_fingers
        # and can be used at the same time
        # possible values: l, r, u, or d
        # to disable it set it to anything else
        workspace_swipe_edge = u
        
        # in milliseconds
        long_press_delay = 400
        
        # resize windows by long-pressing on window borders and gaps.
        # If general:resize_on_border is enabled, general:extend_border_grab_area is used for floating
        # windows
        resize_on_border_long_press = true
        
        # in pixels, the distance from the edge that is considered an edge
        edge_margin = 100
        
        experimental {
            # send proper cancel events to windows instead of hacky touch_up events,
            # NOT recommended as it crashed a few times, once it's stabilized I'll make it the default
            send_cancel = 1
        }
    }
}
hyprgrass-bind  = , swipe:3:u, exec, $menu
hyprgrass-bind  = , tap:3,     killactive
hyprgrass-bind  = , tap:2,     togglefloating
hyprgrass-bind  = , edge:d:u,  exec, killall -34 wvkbd-mobintl
hyprgrass-bind  = , edge:l:u,  exec, brightnessctl set 5%+
hyprgrass-bind  = , edge:l:d,  exec, brightnessctl set 5%-
hyprgrass-bind  = , edge:l:r,  togglesplit

hyprgrass-bindm = , longpress:2, movewindow
hyprgrass-bindm = , longpress:3, resizewindow