summaryrefslogtreecommitdiff
path: root/monitor-menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-menu.py')
-rwxr-xr-xmonitor-menu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor-menu.py b/monitor-menu.py
index 4aeec25..ecd70a5 100755
--- a/monitor-menu.py
+++ b/monitor-menu.py
@@ -32,12 +32,12 @@ class MonitorMenu():
cmd = ['xrandr']
try:
- cmd += profile['xrandr-opts']
+ cmd.extend(profile['xrandr-opts'])
except KeyError:
pass
for monitor in profile['monitors']:
- cmd += monitor['xrandr-opts']
+ cmd.extend(monitor['xrandr-opts'])
subprocess.run(cmd)