1
0
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:
Kelly Brazil
2022-04-10 10:31:13 -07:00
parent 269180df77
commit 3a860b9bab
2 changed files with 7 additions and 5 deletions

View File

@ -131,7 +131,7 @@ Examples:
"offset_width": 0, "offset_width": 0,
"offset_height": 0, "offset_height": 0,
"dimension_width": 310, "dimension_width": 310,
"dimension_height": 170 "dimension_height": 170,
"rotation": "normal" "rotation": "normal"
} }
} }
@ -162,4 +162,4 @@ Returns:
### Parser Information ### Parser Information
Compatibility: linux, darwin, cygwin, aix, freebsd 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)

View File

@ -49,7 +49,8 @@ Schema:
"offset_width": integer, "offset_width": integer,
"offset_height": integer, "offset_height": integer,
"dimension_width": integer, "dimension_width": integer,
"dimension_height": integer "dimension_height": integer,
"rotation": string
} }
], ],
"unassociated_devices": [ "unassociated_devices": [
@ -125,7 +126,8 @@ Examples:
"offset_width": 0, "offset_width": 0,
"offset_height": 0, "offset_height": 0,
"dimension_width": 310, "dimension_width": 310,
"dimension_height": 170 "dimension_height": 170,
"rotation": "normal"
} }
} }
], ],
@ -140,7 +142,7 @@ import jc.utils
class info: class info:
"""Provides parser metadata (version, author, etc.)""" """Provides parser metadata (version, author, etc.)"""
version = "1.0" version = "1.1"
description = "`xrandr` command parser" description = "`xrandr` command parser"
author = "Kevin Lyter" author = "Kevin Lyter"
author_email = "lyter_git at sent.com" author_email = "lyter_git at sent.com"