Configure sway input devices

This commit is contained in:
Ohad Livne 2025-06-04 22:44:11 +03:00
parent a29a7ea10a
commit ccc04b8445
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -49,15 +49,15 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
input type:keyboard {
xkb_options ctrl:nocaps,shift:both_capslock
}
input type:touchpad {
tap enabled
}
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.