Skip to content

Commit 7c13717

Browse files
authored
Add named attribute access to gnome-monitor.py (New) (#1916)
* feat: use typed namedtuple for mode and add type annotation for dbus output * feat: fully typed tuples for getCurrentMode * feat: add readonly properties for the propmap * fix: remove main * refactor: use the new classes for get resolutions and monitors * fix: 3.5 compatibility * feat: use native glib type checking * fix: remove more magic numbers * style: rename * style: print msg during cycle(), comments * fix: use const when possible, comments * test: update tests for the new api * fix: remove time.sleep * fix: override is from typing_extensions * style: formatting * fix: remove override * fix: naming * fix: preserve 6 * fix: update transformation str * style: minor naming tweaks * doc: name * fix: 1 more type check * test: increase coverage * fix: crappy names * doc: comments * style: minor name tweak and comments * doc: annotate logicalmonitorconfig * style: name and comments * style: names * fix: formatting * doc: incomplete comment * fix: styles * doc: more comments * fix: apply Fernando's suggestions * fix: add a default post cycle action * fix: remove debug code * style: add a finish message * cleanup: remove debug msg * fix: bad patching in tests
1 parent dfbf93e commit 7c13717

File tree

2 files changed

+461
-127
lines changed

2 files changed

+461
-127
lines changed

0 commit comments

Comments
 (0)