X-Git-Url: https://git.ralfj.de/lilass.git/blobdiff_plain/babc1614b62e85bacb95ca42d42a7eb618031af9..662aa4a490587259c166191b8f4c0308ce9f0d01:/external_screen.py?ds=inline diff --git a/external_screen.py b/external_screen.py index 895405e..01c744b 100755 --- a/external_screen.py +++ b/external_screen.py @@ -72,7 +72,7 @@ if externalResolutions is not None: # we need to ask what to do else: internalArgs += ["--primary"] else: - internalArgs = ["--mode", res2str(internalResolutions[0]), "--primary"] + internalArgs = ["--mode", res2xrandr(internalResolutions[0]), "--primary"] externalArgs = ["--off"] # and do it call = ["xrandr", "--output", internalName] + internalArgs + ["--output", externalName] + externalArgs