diff options
author | Mattias Andrée <maandree@kth.se> | 2023-11-25 18:08:34 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-11-25 18:08:34 +0100 |
commit | 5b7e0db847c46affc207c327835d1efd3b2727de (patch) | |
tree | 764855cde8a304641a359e907157dc0525ff8a20 /xorg-xrandr | |
parent | Update dmenu to use different fonts (primary size due to different DPI, distance, and screen size) on different computers (diff) | |
download | dotfiles-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.py | 4 |
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()) |