diff --git a/docs/parsers/xrandr.md b/docs/parsers/xrandr.md index caf110d8..4369a464 100644 --- a/docs/parsers/xrandr.md +++ b/docs/parsers/xrandr.md @@ -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) diff --git a/jc/parsers/xrandr.py b/jc/parsers/xrandr.py index 3906f924..a6da4512 100644 --- a/jc/parsers/xrandr.py +++ b/jc/parsers/xrandr.py @@ -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"