From 5728307520fe80b34067cf4d312409548d4a0a10 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 19 Nov 2015 18:55:17 -0500 Subject: Add wallpapers to output command --- sway.5.txt | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'sway.5.txt') 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 When _output_: place mouse at center of newly focused window when changing output. When _none_: don't move mouse. -**output** :: - Configures the specified output. It will use the given resolution and be - arranged at the given position in the layout tree. You may omit either of - these parameters if you only want to set one of them. +**output** :: + Configures the specified output to use the given resolution. + +**output** :: + Configures the specified output to be arranged at the given position. + +**output** :: + Sets the wallpaper for the given output to the specified file, using the given + scaling mode (one of "stretch", "fill", "center", "tile"). **output** disable:: Disables the specified output. +**NOTES FOR THE OUTPUT COMMAND**:: + You may combine output commands into one, like so: + + + output HDMI-A-1 res 1920x1080 pos 1920,0 bg ~/wallpaper.png stretch + + + You can get a list of output names like so: + + + swaymsg -t get_outputs + **reload**:: Reloads the sway config file without restarting sway. -- cgit v1.2.3-54-g00ecf