// ────────────── Input Configuration ────────────── // https://github.com/YaLTeR/niri/wiki/Configuration:-Input input { keyboard { xkb { //If you want to overwrite your keyboard layout, // uncomment the line below and change the layout accordingly. //layout "us" // Use the American keyboard layout } numlock // Enable numlock on startup } touchpad { //tap // Enable tap-to-click dwt scroll-method "two-finger" tap-button-map "left-right-middle" natural-scroll // Enable natural (macOS-style) scrolling } mouse { // If you want to disable Mouse Acceleration, // uncomment the lines below. //accel-profile "flat" //accel-speed 0.0 } //focus-follows-mouse // Automatically focus windows under the mouse pointer //workspace-auto-back-and-forth // Enable workspace back & forth switching }