PHOC-OUTPUTS-STATES(1)
π phoc-outputs-states π
okay bestie, pull up a chair because today we're snooping on phoc-outputs-states β the little tool from the phoc manual fam that lets you peek at phoc's saved outputs states. yes, that's the whole name, no notes. π
β¨ SYNOPSIS β¨
phoc-outputs-states [OPTIONS...]
πΈ DESCRIPTION πΈ
so here's the tea: phoc-outputs-states is a tool that lists the saved outputs states that phoc knows about. it's not out here inventing anything, it's just showing you what's already been tucked away. π
these states get updated by phoc whenever the output configuration changes, and then phoc applies them whenever it detects that specific set of outputs. so basically phoc is out here remembering your setup so it can bring it back the second it recognizes your monitors. main character behavior, honestly. π
β οΈ but listen β output configuration in phoc.ini always takes precedence over saved outputs states. no cap. the ini file wins, every single time, no matter what the saved states are saying. π«Ά
π¦ OPTIONS π¦
-h,--helpβ print the help and dip out. that's it, that's the whole vibe. β¨-d,--dbFILENAME β path to the saved outputs states database file. if you leave this out, phoc's own built in default gets used instead. easy peasy. π-r,--rawβ spit out raw output, which is highkey useful when you're processing the output in scripts. machine-readable mode, activated. π€--listβ list the identifiers of the outputs states sitting in the database. the returned identifiers are based on wlroots output descriptions. ποΈ-show=IDENTIFIER β show the saved output state details for the given IDENTIFIER. (yes, single dash, one-, that's not a typo, don't come for me π)
π EXAMPLES π
get the 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
look at that formatting. aligned. crisp. ate and left no crumbs. π₯
π SEE ALSO π
and that's the whole page, bestie!! this was phoc-outputs-states, living in the phoc-outputs-states() manual, and the footer said phoc-outputs-states() too because apparently it loves its own name that much π go forth and inspect those saved states, you iconic lil sysadmin π§β¨
π¦ where this page comes from
- arch rolling: phoc 0.57.0-2 Β· GPL-3.0-or-later
- ubuntu stonking: phoc 0.58.0-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms