commit 45267bb576559ac583daa4c73c64baef1d4f5ef3
parent 534491d3aa0c60d5c941f2f46b5d7f8978901f84
Author: Bonsaiiv <dominik.riemer@udo.edu>
Date: Sat, 24 May 2025 16:03:45 +0200
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.
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git 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