diff options
-rwxr-xr-x | display-manager.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/display-manager.py b/display-manager.py index 9213107..49c631d 100755 --- a/display-manager.py +++ b/display-manager.py @@ -92,13 +92,14 @@ def main(): message += "\n- unknown: {}".format(other_displays.join(", ")) options = { - "Only internal": ["--output", external["name"], "--off"], - "External left": ["--output", external["name"], "--auto", "--left-of", internal["name"]], - "External right": ["--output", external["name"], "--auto", "--right-of", internal["name"]], - "Mirror": ["--output", external["name"], "--auto", "--same-as", internal["name"]] + "Only internal": ["--output", internal["name"], "--auto", "--output", external["name"], "--off"], + "External left": ["--output", internal["name"], "--auto", "--output", external["name"], "--auto", "--left-of", internal["name"]], + "External right": ["--output", internal["name"], "--auto", "--output", external["name"], "--auto", "--right-of", internal["name"]], + "Mirror": ["--output", internal["name"], "--auto", "--output", external["name"], "--auto", "--same-as", internal["name"]], + "Only external": ["--output", internal["name"], "--off", "--output", external["name"], "--auto"] } - response = zenity_list(message, options.keys(), 225) + response = zenity_list(message, options.keys(), 250) if response is not None: flags = options[response] xrandr(flags) |