mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 23:47:21 +01:00
Merge pull request #862 from goetzc/master
Add input example section to config
This commit is contained in:
commit
f99992a8ae
2 changed files with 21 additions and 6 deletions
21
config
21
config
|
@ -23,11 +23,26 @@ set $menu dmenu_run
|
|||
# Default wallpaper (more resolutions are available in /usr/share/sway/)
|
||||
output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
#
|
||||
# Example output configuration:
|
||||
# Example configuration:
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running swaymsg -t get_outputs
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# input "2:14:SynPS/2_Synaptics_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
|
||||
# The escape symbol "\" has to be removed.
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
|
||||
### Key bindings
|
||||
#
|
||||
|
@ -170,6 +185,7 @@ bindsym $mod+r mode "resize"
|
|||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
position top
|
||||
colors {
|
||||
|
@ -178,7 +194,6 @@ bar {
|
|||
inactive_workspace #32323200 #32323200 #5c5c5c
|
||||
}
|
||||
}
|
||||
# Read sway-bar(5) for more information about this section.
|
||||
|
||||
# You may want this:
|
||||
#
|
||||
|
|
|
@ -11,9 +11,9 @@ sway-input - input configuration file and commands
|
|||
Description
|
||||
-----------
|
||||
|
||||
Sway allows for configuration of libinput devices through _input { }_ blocks in
|
||||
your config file. To obtain a list of available devices, run **swaymsg -t
|
||||
get_inputs**.
|
||||
Sway allows for configuration of libinput devices within the sway configuration file.
|
||||
sway-input commands must be used inside a _input { }_ block in the config.
|
||||
To obtain a list of available devices identifier, run **swaymsg -t get_inputs**.
|
||||
|
||||
Commands
|
||||
--------
|
||||
|
|
Loading…
Reference in a new issue