Skip to content

get current configuration for all displays #150

@sloanlance

Description

@sloanlance

Similar to #22, but implement a current keyword with a different output…

$ displayplacer current
id:37D8832A-2D66-02CA-B9F7-8F30A301B230 res:1728x1117 hz:47 color_depth:8 scaling:on origin:(0,0) degree:0 mode:59
id:8F30A301-2D66-B9F7-02CA-B23037D8832A res:1728x1080 hz:47 color_depth:8 scaling:on origin:(0,0) degree:0 mode:53

The output is basically the last line of the current list output, but with info for each display on a separate line and with the mode included, if possible.

The current keyword could take an optional display ID argument, either persistent, contextual, or serial…

$ displayplacer current 1
id:37D8832A-2D66-02CA-B9F7-8F30A301B230 res:1728x1117 hz:47 color_depth:8 scaling:on origin:(0,0) degree:0 mode:59

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions