Skip to content

Ability to get additional details via the CLI for "displayWithFocus" and "displayWithMouse" #3617

@geigel

Description

@geigel

The CLI is great for scripting and works well. In my implementation, however, it would be beneficial to sometimes retrieve specific details about a given display (via "get") when the method of targeting the device is "displayWithFocus" or "displayWithMouse".

For example, I should be able to do something like this:

betterdisplaycli get -displayWithMouse -tagID

Where the response would be the tag ID for the display with the mouse. I realize that these details are in a somewhat different category from other functionality-related values within the app, so perhaps there's a need for prefixing the parameter to indicate that this display meta data is intended as a response... something like this:

betterdisplaycli get -displayWithMouse -meta-tagID

or even a completely separate operation such as "info" as could be used like this:

betterdisplaycli info -displayWithMouse -tagID

Using the "displayWithFocus" and "displayWithMouse" we can already currently get things like brightness, contrast, placement, etc. but being able to also get associated identifying details about the display that is focused and/or contains the mouse cursor would be helpful too.

I believe the following fields should be available to retrieve for a display via the CLI regardless of the method of identifying the display for a given command:

  1. tagID
  2. UUID
  3. displayID
  4. name
  5. originalName
  6. productName
  7. vendor
  8. model
  9. serial
  10. alphanumericalSerial
  11. yearOfManufacture
  12. weekOfManufacture
  13. registryLocation
  14. deviceType

Metadata

Metadata

Assignees

Labels

doneAll tasks are completedenhancementNew feature or requestintegrationCommand-line interfacerelease availableAvailable under Releases (either as pre-release or stable release)

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions