diff options
| author | Ultrabug <ultrabug@ultrabug.net> | 2015-03-26 11:55:42 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@ultrabug.net> | 2015-03-26 11:55:42 +0100 |
| commit | 694730d8e0da956d19123e133866b9e4b561abcb (patch) | |
| tree | 0f9502a35e12bac868ab1ddb1d8002a44f08ed76 | |
| parent | 139dd3914ebadb67841a1405e89a0b9094d3f720 (diff) | |
| parent | ed5cc6b7c15c45a04ae8fe9f659175d6f4effac3 (diff) | |
Merge pull request #84 from Lujeni/master
fix how the xrandr module retrieves the layout by polling for hardware changes by @Lujeni
| -rw-r--r-- | py3status/modules/xrandr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py3status/modules/xrandr.py b/py3status/modules/xrandr.py index 2d3e757..4ddd856 100644 --- a/py3status/modules/xrandr.py +++ b/py3status/modules/xrandr.py @@ -75,7 +75,7 @@ class Py3status: def _get_layout(self): """ - Get the current outputs layout from xrandr and try to detect the + Get the outputs layout from xrandr and try to detect the currently active layout as best as we can on start. """ connected = list() @@ -88,7 +88,7 @@ class Py3status: } ) - current = Popen(['xrandr', '--current'], stdout=PIPE) + current = Popen(['xrandr'], stdout=PIPE) for line in current.stdout.readlines(): try: # python3 |
