aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2025-05-24 16:03:45 +0200
committerFurkan Sahin <furkan-dev@proton.me>2025-05-24 16:03:45 +0200
commit96069afd77405e702ca99f4320753babc34cfecc (patch)
tree08b1b7e1aed322b8aa77bca95ee6a4c195382219
parent4413f8dbb6a67b398e8ed3766712ca1be637deed (diff)
Improve example of input section in default config
Previous example included a specific device name. This can be confusing for beginners, as the default did not work on most devices.
-rw-r--r--config.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.in b/config.in
index a2a01dda..872ef057 100644
--- a/config.in
+++ b/config.in
@@ -46,14 +46,18 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
-# input "2:14:SynPS/2_Synaptics_TouchPad" {
+# input type:touchpad {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
-# You can get the names of your inputs by running: swaymsg -t get_inputs
+# input type:keyboard {
+# xkb_layout "eu"
+# }
+#
+# You can also configure each device individually.
# Read `man 5 sway-input` for more information about this section.
### Key bindings