projects
/
lilass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
babc161
)
Fix disabling the external screen
author
Ralf Jung
<post@ralfj.de>
Sat, 21 Jul 2012 20:30:37 +0000
(22:30 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sat, 21 Jul 2012 20:30:49 +0000
(22:30 +0200)
external_screen.py
patch
|
blob
|
history
diff --git
a/external_screen.py
b/external_screen.py
index 895405e20d4a2fd01217ce306f64b596809b1bc6..01c744ba2fe350c2810bdb457524674b951f13fd 100755
(executable)
--- 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", res2
st
r(internalResolutions[0]), "--primary"]
+ internalArgs = ["--mode", res2
xrand
r(internalResolutions[0]), "--primary"]
externalArgs = ["--off"]
# and do it
call = ["xrandr", "--output", internalName] + internalArgs + ["--output", externalName] + externalArgs