summaryrefslogtreecommitdiff
path: root/.config/niri/cfg/input.kdl
blob: 721161c755b30dea734fda26a90353bfc29df25e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// ────────────── 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,us"
						variant "colemak_dh_iso,"
						options "grp:win_space_toggle,lv3:ralt_alt,caps:swapescape"
        }
        numlock // Enable numlock on startup
    }

    touchpad {
        // tap // Enable tap-to-click
				dwt // disable while typing
				click-method "clickfinger"
        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
}