aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLibravatar Götz Christ <goetzchrist@gmail.com>2016-08-18 17:56:01 -0500
committerLibravatar Götz Christ <goetzchrist@gmail.com>2016-08-18 18:00:58 -0500
commitaecd33d25db184d152ec6b7ddd69db6713ec232e (patch)
treeb18e09424887d3c7e5c33bacc52ed2b2c23f69a7 /config
parentMerge pull request #853 from guiniol/indicator-color (diff)
downloadsway-aecd33d25db184d152ec6b7ddd69db6713ec232e.tar.gz
sway-aecd33d25db184d152ec6b7ddd69db6713ec232e.tar.zst
sway-aecd33d25db184d152ec6b7ddd69db6713ec232e.zip
Add input example section to config
Also improve sway-input(5) description to be more consistent with sway-bar(5).
Diffstat (limited to 'config')
-rw-r--r--config21
1 files changed, 18 insertions, 3 deletions
diff --git a/config b/config
index 80765c29..47bf1e4f 100644
--- a/config
+++ b/config
@@ -23,11 +23,26 @@ set $menu dmenu_run
23# Default wallpaper (more resolutions are available in /usr/share/sway/) 23# Default wallpaper (more resolutions are available in /usr/share/sway/)
24output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill 24output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill
25# 25#
26# Example output configuration: 26# Example configuration:
27# 27#
28# output HDMI-A-1 resolution 1920x1080 position 1920,0 28# output HDMI-A-1 resolution 1920x1080 position 1920,0
29# 29#
30# You can get the names of your outputs by running swaymsg -t get_outputs 30# You can get the names of your outputs by running: swaymsg -t get_outputs
31
32### Input configuration
33#
34# Example configuration:
35#
36# input "2:14:SynPS/2_Synaptics_TouchPad" {
37# dwt enabled
38# tap enabled
39# natural_scroll enabled
40# middle_emulation enabled
41# }
42#
43# You can get the names of your inputs by running: swaymsg -t get_inputs
44# The escape symbol "\" has to be removed.
45# Read `man 5 sway-input` for more information about this section.
31 46
32### Key bindings 47### Key bindings
33# 48#
@@ -170,6 +185,7 @@ bindsym $mod+r mode "resize"
170# 185#
171# Status Bar: 186# Status Bar:
172# 187#
188# Read `man 5 sway-bar` for more information about this section.
173bar { 189bar {
174 position top 190 position top
175 colors { 191 colors {
@@ -178,7 +194,6 @@ bar {
178 inactive_workspace #32323200 #32323200 #5c5c5c 194 inactive_workspace #32323200 #32323200 #5c5c5c
179 } 195 }
180} 196}
181# Read sway-bar(5) for more information about this section.
182 197
183# You may want this: 198# You may want this:
184# 199#