summaryrefslogtreecommitdiff
path: root/home/config/sway/config.d/input
diff options
context:
space:
mode:
Diffstat (limited to 'home/config/sway/config.d/input')
-rw-r--r--home/config/sway/config.d/input20
1 files changed, 20 insertions, 0 deletions
diff --git a/home/config/sway/config.d/input b/home/config/sway/config.d/input
new file mode 100644
index 0000000..9cb7156
--- /dev/null
+++ b/home/config/sway/config.d/input
@@ -0,0 +1,20 @@
+### Input configuration
+
+# Enable numlock on startup
+input * xkb_numlock enable
+
+# Keyboard layout, change as you wish
+input * {
+ xkb_layout "us"
+ xkb_options compose:ralt
+}
+
+# Touchpad input settings
+input type:touchpad {
+ tap enabled
+ natural_scroll enabled
+ middle_emulation enabled
+}
+
+# Screen settings
+# output eDP-1 resolution 3072x1920 scale $scale