hyprland: plugins: configure hyprgrass

This commit is contained in:
timoxa0 2024-11-21 20:52:39 +05:00
parent 78f05a4886
commit 604ba8753f

View file

@ -7,7 +7,7 @@ plugin {
sensitivity = 4.0 sensitivity = 4.0
# must be >= 3 # must be >= 3
workspace_swipe_fingers = 3 workspace_swipe_fingers = 4
# switching workspaces by swiping from an edge, this is separate from workspace_swipe_fingers # switching workspaces by swiping from an edge, this is separate from workspace_swipe_fingers
# and can be used at the same time # and can be used at the same time
@ -24,13 +24,21 @@ plugin {
resize_on_border_long_press = true resize_on_border_long_press = true
# in pixels, the distance from the edge that is considered an edge # in pixels, the distance from the edge that is considered an edge
edge_margin = 10 edge_margin = 100
experimental { experimental {
# send proper cancel events to windows instead of hacky touch_up events, # 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 # NOT recommended as it crashed a few times, once it's stabilized I'll make it the default
send_cancel = 0 send_cancel = 1
} }
} }
} }
hyprgrass-bind = , swipe:3:u, exec, $menu hyprgrass-bind = , edge:d:u, exec, $menu
hyprgrass-bind = , swipe:3:u, togglefloating
hyprgrass-bind = , edge:l:u, exec, brightnessctl set 5%+
hyprgrass-bind = , edge:l:d, exec, brightnessctl set 5%-
hyprgrass-bind = , edge:r:l, killactive
hyprgrass-bind = , edge:l:r, togglesplit
hyprgrass-bindm = , longpress:3, movewindow
hyprgrass-bindm = , longpress:2, resizewindow