ooknet/home/modules/desktop/wayland/compositor/hyprland/settings/gestures.nix

15 lines
282 B
Nix

{ lib, config, ... }:
let
inherit (lib) mkIf;
wayland = config.ooknet.wayland;
in
{
config = mkIf (wayland.compositor == "hyprland") {
wayland.windowManager.hyprland.settings.gestures = {
workspace_swipe = true;
workspace_swipe_forever = true;
};
};
}