mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
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.
This commit is contained in:
parent
35c4d8e4ee
commit
5038e4c7ce
1 changed files with 6 additions and 2 deletions
|
|
@ -46,14 +46,18 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
# input type:touchpad {
|
||||||
# dwt enabled
|
# dwt enabled
|
||||||
# tap enabled
|
# tap enabled
|
||||||
# natural_scroll enabled
|
# natural_scroll enabled
|
||||||
# middle_emulation 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.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue