diff options
Diffstat (limited to 'sway.5.txt')
-rw-r--r-- | sway.5.txt | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -115,14 +115,28 @@ Commands | |||
115 | When _output_: place mouse at center of newly focused window when changing | 115 | When _output_: place mouse at center of newly focused window when changing |
116 | output. When _none_: don't move mouse. | 116 | output. When _none_: don't move mouse. |
117 | 117 | ||
118 | **output** <name> <resolution|res WIDTHxHEIGHT> <position|pos X,Y>:: | 118 | **output** <name> <resolution|res> <WIDTHxHEIGHT>:: |
119 | Configures the specified output. It will use the given resolution and be | 119 | Configures the specified output to use the given resolution. |
120 | arranged at the given position in the layout tree. You may omit either of | 120 | |
121 | these parameters if you only want to set one of them. | 121 | **output** <name> <position|pos> <X,Y>:: |
122 | Configures the specified output to be arranged at the given position. | ||
123 | |||
124 | **output** <name> <background|bg> <file> <mode>:: | ||
125 | Sets the wallpaper for the given output to the specified file, using the given | ||
126 | scaling mode (one of "stretch", "fill", "center", "tile"). | ||
122 | 127 | ||
123 | **output** <name> disable:: | 128 | **output** <name> disable:: |
124 | Disables the specified output. | 129 | Disables the specified output. |
125 | 130 | ||
131 | **NOTES FOR THE OUTPUT COMMAND**:: | ||
132 | You may combine output commands into one, like so: | ||
133 | + | ||
134 | output HDMI-A-1 res 1920x1080 pos 1920,0 bg ~/wallpaper.png stretch | ||
135 | + | ||
136 | You can get a list of output names like so: | ||
137 | + | ||
138 | swaymsg -t get_outputs | ||
139 | |||
126 | **reload**:: | 140 | **reload**:: |
127 | Reloads the sway config file without restarting sway. | 141 | Reloads the sway config file without restarting sway. |
128 | 142 | ||