From: Oleg Broytman Date: Wed, 31 Dec 2014 22:03:37 +0000 (+0300) Subject: Order options by name X-Git-Tag: v5.0.0~27 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=15bb5f4dd3bfa3dec83c6e30bef263e328ccf338;p=xsetbg.git Order options by name --- diff --git a/xsetbg.py b/xsetbg.py index b932c81..37bd04c 100755 --- a/xsetbg.py +++ b/xsetbg.py @@ -183,9 +183,9 @@ def change(force=False): xsetbg_db[old_filename_key] = xsetbg_db[filename_key] xsetbg_db[filename_key] = image_name - program_options = ["xli", "-onroot", "-quiet"] + \ - ["-center", "-border", random.choice(borders), "-zoom", "auto", - image_name] + program_options = ["xli", "-border", random.choice(borders), + "-center", "-onroot", "-quiet", "-zoom", "auto", + image_name] rc = subprocess.call(program_options) if rc: