mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
add rotation field
This commit is contained in:
@ -131,7 +131,7 @@ Examples:
|
||||
"offset_width": 0,
|
||||
"offset_height": 0,
|
||||
"dimension_width": 310,
|
||||
"dimension_height": 170
|
||||
"dimension_height": 170,
|
||||
"rotation": "normal"
|
||||
}
|
||||
}
|
||||
@ -162,4 +162,4 @@ Returns:
|
||||
### Parser Information
|
||||
Compatibility: linux, darwin, cygwin, aix, freebsd
|
||||
|
||||
Version 1.0 by Kevin Lyter (lyter_git at sent.com)
|
||||
Version 1.1 by Kevin Lyter (lyter_git at sent.com)
|
||||
|
@ -49,7 +49,8 @@ Schema:
|
||||
"offset_width": integer,
|
||||
"offset_height": integer,
|
||||
"dimension_width": integer,
|
||||
"dimension_height": integer
|
||||
"dimension_height": integer,
|
||||
"rotation": string
|
||||
}
|
||||
],
|
||||
"unassociated_devices": [
|
||||
@ -125,7 +126,8 @@ Examples:
|
||||
"offset_width": 0,
|
||||
"offset_height": 0,
|
||||
"dimension_width": 310,
|
||||
"dimension_height": 170
|
||||
"dimension_height": 170,
|
||||
"rotation": "normal"
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -140,7 +142,7 @@ import jc.utils
|
||||
class info:
|
||||
"""Provides parser metadata (version, author, etc.)"""
|
||||
|
||||
version = "1.0"
|
||||
version = "1.1"
|
||||
description = "`xrandr` command parser"
|
||||
author = "Kevin Lyter"
|
||||
author_email = "lyter_git at sent.com"
|
||||
|
Reference in New Issue
Block a user