if ext in ('tif', 'tiff'):
program_options[0] = 'xsetbg'
+ if ext == 'webp':
+ program_options = ['display', '-backdrop',
+ '-background', random.choice(borders),
+ '-window', 'root',
+ row.full_name.encode(fs_encoding)]
+
rc = subprocess.call(program_options)
if rc:
error("cannot execute xli!")