1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
.. _phoc-outputs-states(1):
===================
phoc-outputs-states
===================
-----------------------------------
Inspect phoc's saved outputs states
-----------------------------------
SYNOPSIS
--------
| **phoc-outputs-states** [OPTIONS...]
DESCRIPTION
-----------
``phoc-outputs-states`` is a tool to list the saved outputs states
known to ``phoc``. These states are updated by phoc whenever the
output configuration changes and applied when ``phoc`` detects that
specific set of outputs.
Note that output configuration in ``phoc.ini`` always takes precedence
over saved outputs states.
OPTIONS
-------
``-h``, ``--help``
Print help and exit
``-d``, ``--db FILENAME``
Path to the saved outputs states database file. If omitted phoc's
built in default will be used
``-r``, ``--raw``
Use raw output, useful when processing the output in scripts
``--list``
List the identifiers of the outputs states in the database. The returned
identifiers are based on ``wlroots`` output descriptions
``-show=IDENTIFIER``
Show the saved output state details for the given identifier
EXAMPLES
--------
Get current list of identifiers:
::
$ phoc-outputs-states --list
Identifiers
-----------
…
'(null) (null) (DSI-1)'
…
Get the details for the identifier ``(null) (null) (DSI-1)``:
::
$ phoc-outputs-states --show '(null) (null) (DSI-1)'
(null) (null) (DSI-1)
---------------------
Enabled: yes
Mode: 1080x2340@60000000.00
Scale: 2.500000
Transform: normal
See also
--------
``phoc(1)``
|