summaryrefslogtreecommitdiff
path: root/.config/niri/cfg/input.kdl
diff options
context:
space:
mode:
Diffstat (limited to '.config/niri/cfg/input.kdl')
-rw-r--r--.config/niri/cfg/input.kdl32
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/niri/cfg/input.kdl b/.config/niri/cfg/input.kdl
new file mode 100644
index 0000000..b897a22
--- /dev/null
+++ b/.config/niri/cfg/input.kdl
@@ -0,0 +1,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"
+ }
+ 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
+}