Skip to content

Commit ae624ac

Browse files
author
Tony Crisci
authored
Merge pull request #137 from tarmack/sway_outputreply
Add Sway specific fields to OutputReply() model
2 parents 29c6f0d + 49aca9f commit ae624ac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

i3ipc/replies.py

+12
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,18 @@ class OutputReply(_BaseReply):
9191
('primary', bool),
9292
('current_workspace', str),
9393
('rect', Rect),
94+
# Sway only output fields:
95+
('make', str),
96+
('model', str),
97+
('serial', str),
98+
('scale', float),
99+
('transform', str),
100+
('max_render_time', int),
101+
('focused', bool),
102+
('dpms', bool),
103+
('subpixel_hinting', str),
104+
('modes', list),
105+
('current_mode', dict),
94106
]
95107

96108

0 commit comments

Comments
 (0)