Merge pull request #2971 from RyanDwyer/document-output-identifiers

Document how to identify outputs by make, model and serial
This commit is contained in:
emersion 2018-10-25 10:27:08 +02:00 committed by GitHub
commit b1c49038a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,13 @@ You may combine output commands into one, like so:
You can get a list of output names with *swaymsg -t get\_outputs*. You may also You can get a list of output names with *swaymsg -t get\_outputs*. You may also
match any output by using the output name "\*". match any output by using the output name "\*".
Some outputs may have different names when disconnecting and reconnecting. To
identify these, the name can be substituted for a string consisting of the make,
model and serial which you can get from *swaymsg -t get\_outputs*. Each value
must be separated by one space. For example:
output "Some Company ABC123 0x00000000" pos 1920,0
# COMMANDS # COMMANDS
*output* <name> mode|resolution|res <WIDTHxHEIGHT>[@<RATE>[Hz]] *output* <name> mode|resolution|res <WIDTHxHEIGHT>[@<RATE>[Hz]]