-- Keep only your personal input overrides here. Uncommented settings below -- replace Omarchy's defaults. -- Keyboard layout and options. -- See https://wiki.hypr.land/Configuring/Basics/Variables/#input -- hl.config({ -- input = { -- -- Use multiple keyboard layouts and switch between them with Left Alt + Right Alt. -- kb_layout = "us,dk,eu", -- kb_options = "omarchy:shift_caps_compose,grp:alts_toggle", -- -- -- Use a specific keyboard variant if needed (e.g. intl for international keyboards). -- kb_variant = "intl", -- -- -- Change speed of keyboard repeat. -- repeat_rate = 40, -- repeat_delay = 250, -- -- -- Start with numlock on by default. -- numlock_by_default = true, -- -- -- Increase sensitivity for mouse/trackpad (default: 0). -- sensitivity = 0.35, -- -- -- Turn off mouse acceleration (default: adaptive). -- accel_profile = "flat", -- -- touchpad = { -- -- Use natural (inverse) scrolling. -- natural_scroll = true, -- -- -- Use two-finger clicks for right-click instead of lower-right corner. -- clickfinger_behavior = true, -- -- -- Control the speed of your scrolling. -- scroll_factor = 0.4, -- -- -- Enable the touchpad while typing. -- disable_while_typing = false, -- -- -- Left-click-and-drag with three fingers. Turn off Omarchy's -- -- three-finger gestures with omarchy_default_gestures = false first. -- drag_3fg = 1, -- -- -- Make taps only click: a tap followed by a touch-and-move no longer -- -- starts a drag or a text selection. -- tap_and_drag = false, -- }, -- }, -- }) -- Ignore the touchpad's three-finger tap. It is a middle click, which pastes -- the last selected text in most apps. Limited to the touchpad, so a mouse's -- middle button keeps working. Find your touchpad's name with: hyprctl devices -- hl.bind("mouse:274", function() end, { -- device = { inclusive = true, list = { "your-touchpad-name" } }, -- }) -- App-specific touchpad scroll speeds. -- o.window("(Alacritty|kitty)", { scroll_touchpad = 1.5 }) -- o.window("foot", { scroll_touchpad = 2.0 }) -- o.window("com.mitchellh.ghostty", { scroll_touchpad = 0.2 }) -- Change one of Omarchy's touchpad gestures by unsetting it first, since -- Hyprland rejects a second gesture on the same fingers and direction. This -- makes a three-finger swipe move focus instead (helpful on scrolling layout). -- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Gestures/ -- hl.gesture({ fingers = 3, direction = "left", action = "unset" }) -- hl.gesture({ fingers = 3, direction = "right", action = "unset" }) -- hl.gesture({ fingers = 3, direction = "left", action = function() hl.dispatch(hl.dsp.focus({ direction = "l" })) end }) -- hl.gesture({ fingers = 3, direction = "right", action = function() hl.dispatch(hl.dsp.focus({ direction = "r" })) end })