feat(desktop): add ags touch gestures and don't accept any js

This commit is contained in:
matt1432 2024-11-07 10:39:28 -05:00
parent 52af004829
commit 33b8a9e097
5 changed files with 46 additions and 29 deletions
nixosModules/desktop/environment/home

View file

@ -36,16 +36,19 @@ in {
# windows
resize_on_border_long_press = true;
hyprgrass-bindm = [", longpress:2, movewindow"];
# in pixels, the distance from the edge that is considered an edge
edge_margin = 10;
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 = 0;
};
# 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
experimental.send_cancel = 0;
hyprgrass-bind = [
", edge:u:d, exec, ags request 'open win-applauncher'"
", edge:d:u, exec, ags request 'osk open'"
", swipe:3:d, exec, hyprctl dispatch hyprexpo:expo on"
];
hyprgrass-bindm = [", longpress:2, movewindow"];
};
};