mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-17 01:32:37 +02:00
version bump
This commit is contained in:
@ -31,8 +31,8 @@ Schema:
|
|||||||
"current_height": integer,
|
"current_height": integer,
|
||||||
"maximum_width": integer,
|
"maximum_width": integer,
|
||||||
"maximum_height": integer,
|
"maximum_height": integer,
|
||||||
"associated_device": {
|
"devices": {
|
||||||
"associated_modes": [
|
"modes": [
|
||||||
{
|
{
|
||||||
"resolution_width": integer,
|
"resolution_width": integer,
|
||||||
"resolution_height": integer,
|
"resolution_height": integer,
|
||||||
@ -63,24 +63,6 @@ Schema:
|
|||||||
"reflection": string
|
"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:
|
Examples:
|
||||||
@ -96,8 +78,8 @@ Examples:
|
|||||||
"current_height": 1080,
|
"current_height": 1080,
|
||||||
"maximum_width": 32767,
|
"maximum_width": 32767,
|
||||||
"maximum_height": 32767,
|
"maximum_height": 32767,
|
||||||
"associated_device": {
|
"devices": {
|
||||||
"associated_modes": [
|
"modes": [
|
||||||
{
|
{
|
||||||
"resolution_width": 1920,
|
"resolution_width": 1920,
|
||||||
"resolution_height": 1080,
|
"resolution_height": 1080,
|
||||||
@ -141,8 +123,7 @@ Examples:
|
|||||||
"reflection": "normal"
|
"reflection": "normal"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"unassociated_devices": []
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$ xrandr --properties | jc --xrandr -p
|
$ xrandr --properties | jc --xrandr -p
|
||||||
@ -156,8 +137,8 @@ Examples:
|
|||||||
"current_height": 1080,
|
"current_height": 1080,
|
||||||
"maximum_width": 32767,
|
"maximum_width": 32767,
|
||||||
"maximum_height": 32767,
|
"maximum_height": 32767,
|
||||||
"associated_device": {
|
"devices": {
|
||||||
"associated_modes": [
|
"modes": [
|
||||||
{
|
{
|
||||||
"resolution_width": 1920,
|
"resolution_width": 1920,
|
||||||
"resolution_height": 1080,
|
"resolution_height": 1080,
|
||||||
@ -204,8 +185,7 @@ Examples:
|
|||||||
"reflection": "normal"
|
"reflection": "normal"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"unassociated_devices": []
|
|
||||||
}
|
}
|
||||||
|
|
||||||
<a id="jc.parsers.xrandr.parse"></a>
|
<a id="jc.parsers.xrandr.parse"></a>
|
||||||
@ -231,4 +211,4 @@ Returns:
|
|||||||
### Parser Information
|
### Parser Information
|
||||||
Compatibility: linux, darwin, cygwin, aix, freebsd
|
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)
|
||||||
|
@ -193,7 +193,7 @@ from jc.parsers.pyedid.helpers.edid_helper import EdidHelper
|
|||||||
class info:
|
class info:
|
||||||
"""Provides parser metadata (version, author, etc.)"""
|
"""Provides parser metadata (version, author, etc.)"""
|
||||||
|
|
||||||
version = "1.2"
|
version = "1.3"
|
||||||
description = "`xrandr` command parser"
|
description = "`xrandr` command parser"
|
||||||
author = "Kevin Lyter"
|
author = "Kevin Lyter"
|
||||||
author_email = "code (at) lyterk.com"
|
author_email = "code (at) lyterk.com"
|
||||||
|
Reference in New Issue
Block a user