Add --custom to output mode command

This forces to set the mode as a custom mode.
This commit is contained in:
Simon Ser 2019-10-26 22:36:49 +02:00 committed by Brian Ashworth
parent eaee087c17
commit 38b37247ff
4 changed files with 25 additions and 6 deletions

View file

@ -24,12 +24,16 @@ must be separated by one space. For example:
# COMMANDS
*output* <name> mode|resolution|res <WIDTHxHEIGHT>[@<RATE>[Hz]]
*output* <name> mode|resolution|res [--custom] <WIDTHxHEIGHT>[@<RATE>[Hz]]
Configures the specified output to use the given mode. Modes are a
combination of width and height (in pixels) and a refresh rate that your
display can be configured to use. For a list of available modes for each
output, use *swaymsg -t get_outputs*.
To set a custom mode not listed in the list of available modes, use
*--custom*. You should probably only use this if you know what you're
doing.
Examples:
output HDMI-A-1 mode 1920x1080