summaryrefslogtreecommitdiffstats
path: root/sway.5.txt
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-11-19 18:55:17 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-11-19 18:55:17 -0500
commit5728307520fe80b34067cf4d312409548d4a0a10 (patch)
tree4698561d5912c59930fe7f13519437bc02a8a2ad /sway.5.txt
parentParse output background config (diff)
downloadsway-5728307520fe80b34067cf4d312409548d4a0a10.tar.gz
sway-5728307520fe80b34067cf4d312409548d4a0a10.tar.zst
sway-5728307520fe80b34067cf4d312409548d4a0a10.zip
Add wallpapers to output command
Diffstat (limited to 'sway.5.txt')
-rw-r--r--sway.5.txt22
1 files changed, 18 insertions, 4 deletions
diff --git a/sway.5.txt b/sway.5.txt
index ab2bdedb..5e9dbb1e 100644
--- a/sway.5.txt
+++ b/sway.5.txt
@@ -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