aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xrandr
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-25 18:08:34 +0100
committerMattias Andrée <maandree@kth.se>2023-11-25 18:08:34 +0100
commit5b7e0db847c46affc207c327835d1efd3b2727de (patch)
tree764855cde8a304641a359e907157dc0525ff8a20 /xorg-xrandr
parentUpdate dmenu to use different fonts (primary size due to different DPI, distance, and screen size) on different computers (diff)
downloaddotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.gz
dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.bz2
dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.xz
Misc updates
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--xorg-xrandr/setres/get.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/xorg-xrandr/setres/get.py b/xorg-xrandr/setres/get.py
index 47a6428..6f5682b 100644
--- a/xorg-xrandr/setres/get.py
+++ b/xorg-xrandr/setres/get.py
@@ -31,6 +31,8 @@ class XScreen:
class XConnector:
def __init__(self, line):
line = line.split(' ')
+ self.want_mode = None
+ self.want_rate = None
self.name = line[0]
self.connected = line[1] == 'connected'
self.primary = False
@@ -197,7 +199,7 @@ def get_setup():
for line in xrandr_output:
if on_edid and line.startswith('\t\t') and ':' not in line:
- connector.edid += line.replace(' ', '')
+ connector.edid += line.replace(' ', '').replace('\t', '')
on_edid = None
elif transx is not None:
transx.append(line.strip())