1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

version bump

This commit is contained in:
Kelly Brazil
2023-09-30 15:21:29 -07:00
parent 8bf2f4f4d0
commit 504ad81a01
2 changed files with 10 additions and 30 deletions

View File

@ -31,8 +31,8 @@ Schema:
"current_height": integer,
"maximum_width": integer,
"maximum_height": integer,
"associated_device": {
"associated_modes": [
"devices": {
"modes": [
{
"resolution_width": integer,
"resolution_height": integer,
@ -63,24 +63,6 @@ Schema:
"reflection": string
}
],
"unassociated_devices": [
{
"associated_modes": [
{
"resolution_width": integer,
"resolution_height": integer,
"is_high_resolution": boolean,
"frequencies": [
{
"frequency": float,
"is_current": boolean,
"is_preferred": boolean
}
]
}
]
}
]
}
Examples:
@ -96,8 +78,8 @@ Examples:
"current_height": 1080,
"maximum_width": 32767,
"maximum_height": 32767,
"associated_device": {
"associated_modes": [
"devices": {
"modes": [
{
"resolution_width": 1920,
"resolution_height": 1080,
@ -141,8 +123,7 @@ Examples:
"reflection": "normal"
}
}
],
"unassociated_devices": []
]
}
$ xrandr --properties | jc --xrandr -p
@ -156,8 +137,8 @@ Examples:
"current_height": 1080,
"maximum_width": 32767,
"maximum_height": 32767,
"associated_device": {
"associated_modes": [
"devices": {
"modes": [
{
"resolution_width": 1920,
"resolution_height": 1080,
@ -204,8 +185,7 @@ Examples:
"reflection": "normal"
}
}
],
"unassociated_devices": []
]
}
<a id="jc.parsers.xrandr.parse"></a>
@ -231,4 +211,4 @@ Returns:
### Parser Information
Compatibility: linux, darwin, cygwin, aix, freebsd
Version 1.2 by Kevin Lyter (lyter_git at sent.com)
Version 1.3 by Kevin Lyter (code (at) lyterk.com)

View File

@ -193,7 +193,7 @@ from jc.parsers.pyedid.helpers.edid_helper import EdidHelper
class info:
"""Provides parser metadata (version, author, etc.)"""
version = "1.2"
version = "1.3"
description = "`xrandr` command parser"
author = "Kevin Lyter"
author_email = "code (at) lyterk.com"