summaryrefslogtreecommitdiff
path: root/monitor-menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-menu.py')
-rwxr-xr-xmonitor-menu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor-menu.py b/monitor-menu.py
index 48e12a4..710eab7 100755
--- a/monitor-menu.py
+++ b/monitor-menu.py
@@ -49,7 +49,7 @@ class MonitorMenu():
for monitor in profile['monitors']:
xrandr_cmd.extend(monitor['xrandr-opts'])
- if monitor['background'] is not None:
+ if monitor.get('background') is not None:
feh_cmd.append(monitor['background']);
subprocess.run(xrandr_cmd)